jtml

Write HTML in JavaScript, using template-tags.

MIT License

Downloads
2.4K
Stars
189
Committers
6
jtml - v0.5.1 Latest Release

Published by keithamus over 1 year ago

jtml - v0.5.0

Published by keithamus almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/github/jtml/compare/v0.4.1...v0.5.0

jtml -

Published by dgreif over 2 years ago

  • Add file extensions for imports f7ce7dd

https://github.com/github/jtml/compare/v0.4.0...v0.4.1

jtml - v0.4.0

Published by keithamus over 3 years ago

This release adds an unsafeHTML directive which allows injecting raw HTML strings directly as HTML, circumventing the escaping routines.

jtml - v0.3.4

Published by keithamus over 3 years ago

This fixes the type signature for until to allow unknown values, not just Promise<unknown>, which allows for passing strings, booleans or TemplaResults synchronously.

jtml -

Published by keithamus over 3 years ago

This fixes a bug where rendering a DocumentFragment inside a template, inside an Array, inside another template would not correctly render the DocumentFragment, due to update() being unnecessarily early!

jtml -

Published by keithamus almost 4 years ago

This is a republish of v0.3.1 which published incorrectly.

jtml -

Published by keithamus almost 4 years ago

Fixes a bug where Text nodes aren't rendered properly.

jtml -

Published by keithamus almost 4 years ago

Added TemplateResult.renderInto(el) which is the same as render(TemplateResult, el), but being attached to the TemplateResult class allows libraries to consume the object without depending on the libraries render function.

jtml -

Published by keithamus almost 4 years ago

This release adds support for Iterables as values. It also adds some comprehensive documentation for all of the features and capabilities of the library.

jtml -

Published by keithamus almost 4 years ago

This release publishes to both the GitHub package registry and the npm registry.

jtml -

Published by keithamus almost 4 years ago

This updates the @github/template-parts dependency which allows us to ship slightly less code 🎉