6 Commits (58fe89b643dcfeb36f39c6f57ef853c8638b1ab8)

Author SHA1 Message Date
welpo b3dc5396b4
feat: add dual image support for switching themes 2 years ago
welpo 4e4021da5d
feat: format references with custom shortcode
Uses hanging indent for a References section.
2 years ago
welpo 799b31d403
✏️ fix: minor typo 2 years ago
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…)
2 years ago
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.
2 years ago
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") }}
2 years ago