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

Improve Markdown component #88

Open
mtsknn opened this issue Oct 17, 2021 · 0 comments
Open

Improve Markdown component #88

mtsknn opened this issue Oct 17, 2021 · 0 comments

Comments

@mtsknn
Copy link
Member

mtsknn commented Oct 17, 2021

The component is called Markdown, but it takes HTML instead of Markdown, so it should be called e.g. Html.

Also consider changing the unnecessary wrapper <div>/<span> tag to e.g. <my-html> and removing the custom <my-html> tags in eleventy/preact.js, similarly to how <style id="__twind"></style> is replaced with proper Twind-generated styles. Like this:

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

No branches or pull requests

1 participant