6 Commits

Author SHA1 Message Date
welpo
b3dc5396b4
feat: add dual image support for switching themes 2023-02-25 22:28:43 +01:00
welpo
4e4021da5d
feat: format references with custom shortcode
Uses hanging indent for a References section.
2023-02-25 02:00:42 +01:00
welpo
799b31d403
✏️ fix: minor typo 2023-02-18 03:24:58 +01:00
welpo
bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2023-02-16 00:22:31 +01:00
welpo
9de7a7a02d
feat: allow realtive paths in images
Useful when hosting on a subdirectory. Replaces $BASE_URL by the
base_url set in config.toml.
2023-02-10 13:25:55 +01:00
welpo
389c724fe0
feat: add invertable image shortcode
Useful to invert diagrams, graphs, etc. in dark theme.
To use it in a markdown file, add a line like:
{{ invertable_image(src="/img.png", alt="alt text") }}
2023-02-10 02:36:23 +01:00