Clone in a terminal:
kaja-html-macro

HTML macro

Commit history

e644be6 Johan Mattsson - johan.mattsson.m@gmail.com
Revert "Edition"
Revert "Edition"

This reverts commit 9f3c1ef4f9d7cae30cca27da3e4ff13921fb9c3a.
8e2d113 Johan Mattsson - johan.mattsson.m@gmail.com
Fix warning
Fix warning
9f3c1ef Johan Mattsson - johan.mattsson.m@gmail.com
Edition
Edition
edf6e01 Johan Mattsson - johan.mattsson.m@gmail.com
Fix single quote issue
Fix single quote issue
ab2638b Johan Mattsson - johan.mattsson.m@gmail.com
1.0.4
1.0.4
bd2bcc8 Johan Mattsson - johan.mattsson.m@gmail.com
Fix space after variable
Fix space after variable
94b73f9 Johan Mattsson - johan.mattsson.m@gmail.com
Test
Test
97b8693 Johan Mattsson - johan.mattsson.m@gmail.com
String literal as macro content
String literal as macro content
e5dc7b4 Johan Mattsson - johan.mattsson.m@gmail.com
Compile script tag
Compile script tag

Limitation: ' will cause compiler error because rust thinks it
is a character literal.
96101c3 Johan Mattsson - johan.mattsson.m@gmail.com
Fix compiler warning
Fix compiler warning
9922562 Johan Mattsson - johan.mattsson.m@gmail.com
Version 1.0.3
Version 1.0.3
f7aa71a Johan Mattsson - johan.mattsson.m@gmail.com
Fix white space issue
Fix white space issue
c790785 Johan Mattsson - johan.mattsson.m@gmail.com
Test for include tag
Test for include tag
09d6d11 Johan Mattsson - johan.mattsson.m@gmail.com
Escape less
Escape less
a4bcd35 Johan Mattsson - johan.mattsson.m@gmail.com
Headline size
Headline size
5207534 Johan Mattsson - johan.mattsson.m@gmail.com
Struct example
Struct example
789b2b7 Johan Mattsson - johan.mattsson.m@gmail.com
Update readme
Update readme
2a6d2f5 Johan Mattsson - johan.mattsson.m@gmail.com
Update examples
Update examples
9d426d4 Johan Mattsson - johan.mattsson.m@gmail.com
Another readme update
Another readme update
88a47d8 Johan Mattsson - johan.mattsson.m@gmail.com
Minimal readme update
Minimal readme update
44b91c4 Johan Mattsson - johan.mattsson.m@gmail.com
Update readme
Update readme
c7aac36 Johan Mattsson - johan.mattsson.m@gmail.com
Prettier documentation
Prettier documentation
a7ea9a6 Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.1
v1.0.1
5d77a86 Johan Mattsson - johan.mattsson.m@gmail.com
En dash
En dash
9733270 Johan Mattsson - johan.mattsson.m@gmail.com
More documentation
More documentation
6d38bef Johan Mattsson - johan.mattsson.m@gmail.com
Move up example in readme
Move up example in readme
fc1791e Johan Mattsson - johan.mattsson.m@gmail.com
Metadata
Metadata
58579a2 Johan Mattsson - johan.mattsson.m@gmail.com
Spelling
Spelling
aab1daf Johan Mattsson - johan.mattsson.m@gmail.com
Fix example code
Fix example code
5666609 Johan Mattsson - johan.mattsson.m@gmail.com
Rename project to kaja-html-macro
Rename project to kaja-html-macro
02c8b48 Johan Mattsson - johan.mattsson.m@gmail.com
Add copyright header
Add copyright header

MIT license
69ea512 Johan Mattsson - johan.mattsson.m@gmail.com
Fix example in readme
Fix example in readme
4c7fd34 Johan Mattsson - johan.mattsson.m@gmail.com
License: MIT
License: MIT
44732b3 Johan Mattsson - johan.mattsson.m@gmail.com
Fix example in readme
Fix example in readme
c95af61 Johan Mattsson - johan.mattsson.m@gmail.com
HTML macro for Rust projects
HTML macro for Rust projects

This is a macro that creates a Rust String from an HTML block.

Example:
let content = html!{{ <html></html> }}

Created by Johan Mattsson for Kajacode.

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112