Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugin): support directive syntax #22

Merged
merged 6 commits into from
Nov 20, 2024
Merged

feat(plugin): support directive syntax #22

merged 6 commits into from
Nov 20, 2024

Conversation

d3m1d0v
Copy link
Member

@d3m1d0v d3m1d0v commented Nov 5, 2024

New supported syntax:

:::cut [Cut title with _inline_ **markup**]
> Cut content
:::

Not enabled by default.
To enable new syntax, pass directiveSyntax: 'enabled' option.
To enable new directive syntax and disable old liquid-like (curly) syntax pass directiveSyntax: 'only'.

@d3m1d0v d3m1d0v mentioned this pull request Nov 5, 2024
src/plugin/directive.ts Outdated Show resolved Hide resolved
@d3m1d0v d3m1d0v marked this pull request as ready for review November 13, 2024 09:51
@d3m1d0v d3m1d0v merged commit 415977d into master Nov 20, 2024
2 checks passed
@d3m1d0v d3m1d0v deleted the directive-syntax2 branch November 20, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants