\html* commands: "raw" input forbids %
See original GitHub issueso I finally got around to checking out the new html* commands. I was pretty excited about it until I got stuck with the following problem. say one uses htmlStyle. many css commands involve the symbol “%”. but this creates an error. for example,
\htmlStyle{background-color:rgb(255, 99, 71);}{x^2+1}
will work nicely but the equivalent syntax
\htmlStyle{background-color:hsl(9, 100%, 64%);}{x^2+1}
will throw a KaTeX parse error: Unexpected end of input in raw at position 12: \htmlStyle{b̲a̲c̲k̲g̲r̲o̲u̲n̲d̲-̲c̲o̲l̲o̲r̲:̲h̲s̲l̲(̲9̲,̲ ̲1̲0̲0̲%, 64%);}{x^2+1…
edited: removed suggested fixes, I actually forgot how KaTeX input types work. will think about it some more
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Html.raw(), doesn't compile the code returned from jQuery
I am trying to have multi-coloured textarea on my page. So basically I am planing have one textarea input and one <p> object....
Read more >HTML Standard
1 Introduction; 2 Common infrastructure; 3 Semantics, structure, and APIs of HTML documents; 4 The elements of HTML; 5 Microdata; 6 User interaction ......
Read more >raw_input not working - Codecademy
Okay, I was just trying to make it input a word from the user. I had: word = raw_input("Please type a word.") The...
Read more >HTML Viewer - Code Beautify
Online HTML Viewer, HTML Beautifier, HTML Formatter, HTML Editor to Test output - Convert HTML Strings to a Friendly Readable Format, Beautify.
Read more >Try it Yourself - W3Schools Tryit Editor
DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bonkboykz 0.12.0 has been released. See https://github.com/KaTeX/KaTeX/releases/tag/v0.12.0 for details.
@ylemkimon @mpolyak