···11----
22-packages:
33- - maudit
44-release: minor
55----
66-77-The data URI and average RGBA for thumbnails is now calculated lazily, as such the `average_rgba` and `data_uri` fields have been replaced by methods.
-7
.sampo/changesets/gallant-guardian-otso.md
···11----
22-packages:
33- - maudit
44-release: patch
55----
66-77-Added caching mechanism to placeholder and image transformation
-51
.sampo/changesets/gallant-knight-louhi.md
···11----
22-packages:
33- - maudit
44-release: minor
55----
66-77-Added support for shortcodes in Markdown. Shortcodes allows you to substitute custom content in your Markdown files. This feature is useful for embedding dynamic content or reusable components within your Markdown documents.
88-99-For instance, you might define a shortcode for embedding YouTube videos using only the video ID, or for inserting custom alerts or notes.
1010-1111-```markdown
1212-{{ youtube id="FbJ63spk48s" }}
1313-```
1414-1515-Would render to:
1616-1717-```html
1818-<iframe
1919- width="560"
2020- height="315"
2121- src="https://www.youtube.com/embed/FbJ63spk48s?si=hUGRndTWIThVY-72"
2222- title="YouTube video player"
2323- frameborder="0"
2424- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
2525- referrerpolicy="strict-origin-when-cross-origin"
2626- allowfullscreen
2727-></iframe>
2828-```
2929-3030-To define and register shortcodes, pass a MarkdownShortcodes instance to the MarkdownOptions when rendering Markdown content.
3131-3232-```rust
3333-let mut shortcodes = MarkdownShortcodes::new();
3434-3535-shortcodes.register("youtube", |args, _ctx| {
3636- let id: String = args.get_required("id");
3737- format!(
3838- r#"<iframe width="560" height="315" src="https://www.youtube.com/embed/{}" frameborder="0" allowfullscreen></iframe>"#,
3939- id
4040- )
4141-});
4242-4343-MarkdownOptions {
4444- shortcodes,
4545- ..Default::default()
4646-}
4747-4848-// Then pass options to, i.e. glob_markdown in a content source
4949-```
5050-5151-Note that shortcodes are expanded before Markdown is rendered, so you can use shortcodes anywhere in your Markdown content, for instance in your frontmatter. Additionally, shortcodes may expand to Markdown content, which will then be rendered as part of the overall Markdown rendering process.
-7
.sampo/changesets/jovial-firebringer-aurelien.md
···11----
22-packages:
33- - maudit
44-release: minor
55----
66-77-Add `is_dev()` function to allow one to toggle off things whenever running in dev
-7
.sampo/changesets/wily-runesinger-joukahainen.md
···11----
22-packages:
33- - maudit-cli
44-release: patch
55----
66-77-Fixed dev server reloading for no apparent reason on macOS
+7
crates/maudit-cli/CHANGELOG.md
···11# maudit-cli
2233+## 0.4.2
44+55+### Patch changes
66+77+- [da95572](https://github.com/bruits/maudit/commit/da955725e460be405898b5749d64877404636e69) Fixed dev server reloading for no apparent reason on macOS — Thanks @Princesseuh!
88+99+310## 0.4.1
411512### Patch changes
···11# maudit
2233+## 0.5.0
44+55+### Minor changes
66+77+- [d5a7fad](https://github.com/bruits/maudit/commit/d5a7fad563e9642be46b24d8db500e753c1175f5) The data URI and average RGBA for thumbnails is now calculated lazily, as such the `average_rgba` and `data_uri` fields have been replaced by methods. — Thanks @Princesseuh!
88+- [0403ac9](https://github.com/bruits/maudit/commit/0403ac9996f9d4e79945758fe06e7510729e383e) Add `is_dev()` function to allow one to toggle off things whenever running in dev — Thanks @Princesseuh!
99+- [39db004](https://github.com/bruits/maudit/commit/39db004b63ab7aa582a92593082e1261bae55b92) Added support for shortcodes in Markdown. Shortcodes allows you to substitute custom content in your Markdown files. This feature is useful for embedding dynamic content or reusable components within your Markdown documents.
1010+1111+ For instance, you might define a shortcode for embedding YouTube videos using only the video ID, or for inserting custom alerts or notes.
1212+1313+ ```markdown
1414+ {{ youtube id="FbJ63spk48s" }}
1515+ ```
1616+1717+ Would render to:
1818+1919+ ```html
2020+ <iframe
2121+ width="560"
2222+ height="315"
2323+ src="https://www.youtube.com/embed/FbJ63spk48s?si=hUGRndTWIThVY-72"
2424+ title="YouTube video player"
2525+ frameborder="0"
2626+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
2727+ referrerpolicy="strict-origin-when-cross-origin"
2828+ allowfullscreen
2929+ ></iframe>
3030+ ```
3131+3232+ To define and register shortcodes, pass a MarkdownShortcodes instance to the MarkdownOptions when rendering Markdown content.
3333+3434+ ```rust
3535+ let mut shortcodes = MarkdownShortcodes::new();
3636+3737+ shortcodes.register("youtube", |args, _ctx| {
3838+ let id: String = args.get_required("id");
3939+ format!(
4040+ r#"<iframe width="560" height="315" src="https://www.youtube.com/embed/{}" frameborder="0" allowfullscreen></iframe>"#,
4141+ id
4242+ )
4343+ });
4444+4545+ MarkdownOptions {
4646+ shortcodes,
4747+ ..Default::default()
4848+ }
4949+5050+ // Then pass options to, i.e. glob_markdown in a content source
5151+ ```
5252+5353+ Note that shortcodes are expanded before Markdown is rendered, so you can use shortcodes anywhere in your Markdown content, for instance in your frontmatter. Additionally, shortcodes may expand to Markdown content, which will then be rendered as part of the overall Markdown rendering process. — Thanks @Princesseuh!
5454+5555+### Patch changes
5656+5757+- [d5a7fad](https://github.com/bruits/maudit/commit/d5a7fad563e9642be46b24d8db500e753c1175f5) Added caching mechanism to placeholder and image transformation — Thanks @Princesseuh!
5858+5959+360## 0.4.0
461562### Minor changes