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
GitHub Actions Bot
e216d4614c
Ship tag 5.16.0
2023-06-08 16:04:01 +00:00
Sören Weber
2f010f3944
test: add file list
2023-06-08 17:59:03 +02:00
Sören Weber
aaa25e1322
docs: restore favicon on publish
2023-06-08 17:16:28 +02:00
Sören Weber
5a2ffac7fc
tabs: fix false codify detection if only contained in subtabs #550
2023-06-08 16:45:30 +02:00
Sören Weber
efce383939
tabs: decrease contrast for tabs title #550
2023-06-08 15:23:55 +02:00
Sören Weber
d86973ae01
tabs: further tweaking of default color #550
2023-06-08 15:11:51 +02:00
Sören Weber
cef256eb40
tabs: allow codified tabs to be colored #550
2023-06-08 14:53:22 +02:00
Sören Weber
0a3662be61
tabs: increase contrast for non selected tab handles #550
...
and make default style darkish grey similar to other shortcodes
2023-06-08 14:36:28 +02:00
Sören Weber
310df3425f
icon: remove whitespace on start #560
2023-06-08 13:36:12 +02:00
Sören Weber
746e2e7d91
docs: simplify relref migration and fix it for fragments
2023-06-08 10:57:00 +02:00
Sören Weber
27d11a1c72
frontmatter: add new shortcode parameter #550 #551
2023-06-08 00:13:19 +02:00
Sören Weber
619e8846d4
docs: fine tuning
2023-06-08 00:10:37 +02:00
Sören Weber
f52639c9df
tab: format correctly when called as partial #550
2023-06-07 21:04:47 +02:00
Sören Weber
a5e6a30493
tabs: fix neon style #550
2023-06-07 20:17:17 +02:00
Sören Weber
25e39cfe34
tabs: fix style for indented code blocks #550
2023-06-07 20:16:59 +02:00