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

Support custom elements used in custom renderer functions #53

Open
earlAchromatic opened this issue Apr 25, 2023 · 2 comments
Open

Support custom elements used in custom renderer functions #53

earlAchromatic opened this issue Apr 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@earlAchromatic
Copy link
Contributor

Currently marked which is used under the hood to parse blocks -> markdown -> html will escape anything that isn't in their list of known html tags. We need to figure out how to provide patterns to match for custom tags.

@earlAchromatic earlAchromatic added the enhancement New feature or request label Apr 25, 2023
@earlAchromatic
Copy link
Contributor Author

markedjs/marked#514

might not need to do anything - just make sure to use <custom-element/> syntax (hyphenation is required).

@bent10
Copy link

bent10 commented Oct 26, 2023

You might want to give the marked-directive extension a try 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants