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

Allow embedding raw HTML inside FT templates using UTF-8 encoded bytes #597

Merged
merged 2 commits into from
Aug 10, 2024

Conversation

adamritter
Copy link
Contributor

I created an extremely fast HTML generation library that mirrors the FT templating library, but 20x faster ( https://github.com/adamritter/fasttag ).

I love how well it integrates with FastHTML (the biggest feature missing from it is tuple support so far, but it's quite usable without it as well), but I needed to change FastCore to_xml to be able to embed raw HTML to use it.

BTW my library is not yet officially released, but it's right now in the state when I'm comfortable to share it... still, I believe the raw HTML feature in FastCore may be useful for others as well.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jph00 jph00 added the enhancement New feature or request label Aug 10, 2024
@jph00 jph00 merged commit abb2083 into AnswerDotAI:master Aug 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants