Commit graph

2132 commits

Author SHA1 Message Date
Sören Weber
c69c5890a9
a11y: outline color for menu controls #581 2023-06-28 19:21:41 +02:00
Sören Weber
75cdd546e0
a11y: improve outline style for menu controls #581 2023-06-28 18:32:30 +02:00
Sören Weber
277340e491
theme: remove link underline in menu #577 2023-06-23 12:39:51 +02:00
Sören Weber
63928e5a91
theme: improve display of links #577 2023-06-23 11:50:29 +02:00
GitHub Actions Bot
61ccf4e42f Mark non-release version 2023-06-22 17:05:10 +00:00
GitHub Actions Bot
de6a4f48e2 Ship tag 5.17.1 2023-06-22 17:04:59 +00:00
Sören Weber
29be027dbf
highlight: disable block code copy-to-clipboard button in print #574 2023-06-22 18:59:16 +02:00
GitHub Actions Bot
3d57adbb91 Mark non-release version 2023-06-22 16:45:50 +00:00
GitHub Actions Bot
d796773949 Ship tag 5.17.0 2023-06-22 16:45:42 +00:00
Sören Weber
9d72658a43
highlight: make copy to clipboard only appear on hover #574 2023-06-22 18:42:43 +02:00
Sören Weber
757f9d8590
docs: Hugo compat note #573 2023-06-22 17:56:28 +02:00
Sören Weber
625f56b887
theme: compat for Hugo 0.114.0 #573 2023-06-22 17:51:18 +02:00
Sören Weber
7e073f9681
highlight: handle string options in funnel file #169
as it may happen to be called with string options in case of documented `partial (compat)` mode
2023-06-22 17:34:04 +02:00
Sören Weber
047606ff45
docs: switch to lineNos=true #169
be a role model and adhere to the docs
2023-06-22 17:32:39 +02:00
Sören Weber
7c42d47a73
docs: fix copy&paste #169 2023-06-22 01:34:12 +02:00
Sören Weber
83e403ea2e
highlight: add option for wrapping vs. scrolling #169 2023-06-22 01:22:08 +02:00
Sören Weber
73fdfb5ea6
highlight: to much simplification #169 2023-06-21 22:27:33 +02:00
Sören Weber
90db4823dc
highlight: simplify js implementation #169 2023-06-21 22:06:16 +02:00
Sören Weber
95f7b0107e
tags: test case for case-insensitive sorting 2023-06-18 11:44:37 +02:00
Sören Weber
e80f89b2b6
taxonomy: fix number tags #570 2023-06-18 11:13:33 +02:00
Sören Weber
05e33f051b
syntaxhighlight: trim highlight color for relearn-light #569 2023-06-17 10:23:07 +02:00
Sören Weber
ca6965b843
syntaxhighlight: adjust highlighted line color #569 2023-06-17 00:37:44 +02:00
Sören Weber
2be07f6871
syntaxhiglight: adjust for background #569 2023-06-17 00:36:51 +02:00
Sören Weber
e1b2388a18
syntaxhighlight: fix table background on overflow #569 2023-06-16 22:53:18 +02:00
Sören Weber
74e31cae1a
syntaxhighlight: move everything closer together in highlight table lineno mode #569 2023-06-16 22:29:35 +02:00
Sören Weber
7a92d032e5
syntaxhighlight: allow for wrapping #569
- currently the only option until #169 is implemented
- also mandatory for printing
2023-06-16 21:13:59 +02:00
Sören Weber
d62e47ff90
theme: slightly separate 'More' caption from menu 2023-06-16 00:16:09 +02:00
Sören Weber
739f7fc02a
variant: reduce 'More' contrast to adjust with relearn-bright variant 2023-06-15 23:55:45 +02:00
Sören Weber
d319d92d98
syntaxhighlight: fix behavior for noClasses=true #569 2023-06-15 23:17:27 +02:00
Sören Weber
5218972b06
syntaxhighlight: fix borders using highlight shortcode #569 2023-06-15 21:57:08 +02:00
Sören Weber
c3015432e5
syntaxhighlight: improve if using highlight shortcode #569 2023-06-15 19:35:35 +02:00
GitHub Actions Bot
8210020994 Mark non-release version 2023-06-10 12:23:45 +00:00
GitHub Actions Bot
46511aecea Ship tag 5.16.2 2023-06-10 12:23:35 +00:00
Sören Weber
b85376f164
theme: flip 404 image #566 2023-06-10 14:18:38 +02:00
Sören Weber
ab055b4a79
docs: error page #566 2023-06-10 14:02:57 +02:00
Sören Weber
25a2358096
theme: revamp 404 page #566 2023-06-10 13:56:58 +02:00
Sören Weber
57943fac16
docs: add missing block boundaries 2023-06-10 00:21:58 +02:00
Sören Weber
90dcde60ee
docs: use _ consistantly for italics 2023-06-10 00:14:46 +02:00
GitHub Actions Bot
e6f94019cd Mark non-release version 2023-06-09 21:56:59 +00:00
GitHub Actions Bot
d5bef098df Ship tag 5.16.1 2023-06-09 21:56:49 +00:00
Sören Weber
4026fba240
theme: add deprecation warnings #565 2023-06-09 23:42:03 +02:00
Sören Weber
882688711f
Merge branch 'takac-mermaid-front-matter-support' 2023-06-09 21:46:59 +02:00
Sören Weber
e77afd6b70
mermaid: allow for YAML frontmatter inside of graph #564 2023-06-09 21:45:57 +02:00
Sören Weber
59428415f2
Merge branch 'mermaid-front-matter-support' of https://github.com/takac/hugo-theme-relearn into takac-mermaid-front-matter-support 2023-06-09 20:36:28 +02:00
Sören Weber
ab67fcc80e
test: modularize config 2023-06-09 20:28:03 +02:00
Sören Weber
03b7ae392a
test: mute verbose output 2023-06-09 15:15:31 +02:00
Sören Weber
f3c1badb80
test: fix version detection 2023-06-09 15:08:50 +02:00
Tom Cammann
cb9cec76e3 Support yaml front matter in mermaid blocks
Mermaid diagrams can start with yaml front matter, e.g.
```
---
title: Example Diagram
---
graph LR
  A --> B
```

Relearn injects an init directive
`%%{init: {"theme":"default"}}%%` at the top of a mermaid block to
support theming the mermaid diagram. However this will cause a syntax
parser error in mermaid if the init directive comes before the yaml
front matter.

Valid:
```
%%{init: {"theme":"default"}}%%
graph LR
    A --> B
```
Invalid:
```
%%{init: {"theme":"default"}}%%
---
title: Example
---
graph LR
    A --> B
```

To support yaml front matter, we detect if front matter is used, and
inject the init directive after the front matter.

```
---
title: Example
---
%%{init: {"theme":"default"}}%%
graph LR
    A --> B
```
2023-06-09 11:52:23 +01:00
Sören Weber
35a4fd83ef
alias: fix redirect URLs in case of empty BaseURL #562 2023-06-09 11:11:18 +02:00
GitHub Actions Bot
e3ac6efd7c Mark non-release version 2023-06-08 16:04:10 +00:00