Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Jan 14, 2025

Replaced all {}-based MyST Markdown directives with ::: syntax for better editor and parser support. Added new documentation on Markdown extensions and updated test cases accordingly to align with the syntax changes.

This closes #114 and ensures we follow our own best practices!

This also includes a new documentation page on our usage of markdown and our syntax extensions.

Replaced all `{}`-based MyST Markdown directives with `:::` syntax for better editor and parser support. Added new documentation on Markdown extensions and updated test cases accordingly to align with the syntax changes.
@Mpdreamz Mpdreamz linked an issue Jan 14, 2025 that may be closed by this pull request
The `title_navigation` field was changed from "Markdown Extensions" to "Markdown Syntax" for clarity and consistency. This aligns the navigation label with the document's content and improves user experience.
Corrected a typo in the directive template to ensure it renders properly during tests. This change fixes potential parsing issues caused by the mismatched curly braces.
Mpdreamz and others added 3 commits January 14, 2025 22:14
Replaced inline dictionary with static readonly `FrozenDictionary` and introduced an alternate lookup for better performance. Adjusted tests and trimmed parsing logic to align with the updated implementation.
@Mpdreamz Mpdreamz merged commit ddd64a5 into main Jan 14, 2025
3 checks passed
@Mpdreamz Mpdreamz deleted the fix/directive-syntax branch January 14, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Discuss] Decide on directive leading characters.

3 participants