Skip to content

Commit ae7ac18

Browse files
committed
Prettier name for Sätteri remark/mdast plugin of the StarlightPlugin
1 parent 22ec7fe commit ae7ac18

5 files changed

Lines changed: 359 additions & 282 deletions

File tree

.changeset/public-insects-exist.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'astro-vtbot': patch
3+
---
4+
5+
Additionally exports `remarkEndOfMarkdown` now also as `mdastEndOfMarkdown`. For all who prefer that name when switching Starlight from remark to mdast for Sätteri.
6+
7+
See [the StarlightPlugin page](https://events-3bg.pages.dev/library/StarlightPlugin/#for-s%C3%A4tteri-starlight-041) for details.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A current deployment of tech demos and the documentation can be found at https:/
1717

1818
## !!! NEW TRICKS ✨ IN THE BAG 👜 !!!
1919

20-
> Updated dependencies to include the newest version of @vtbag/utensil-drawer.
20+
> If you use the Starlight with Sätteri, you can use `remarkEndOfMarkdown` [as an mdastPlugin](https://events-3bg.pages.dev/library/StarlightPlugin/#for-s%C3%A4tteri-starlight-041). If you prefer a more _mdasty_ name for the plugin: it is now also exported as `mdastEndOfMarkdown`.
2121
2222
## Recently Learned Tricks ##
2323

integration/starlight-view-transitions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export function remarkEndOfMarkdown(id = 'end-of-markdown') {
4545
};
4646
}
4747

48+
export const mdastEndOfMarkdown = remarkEndOfMarkdown;
49+
4850
function set(property: string, value: any) {
4951
if (value === undefined) delete process.env[property];
5052
else process.env[property] = value;

0 commit comments

Comments
 (0)