DEV Community

Discussion on: A Beginner's Attempt at Mithril.js

Collapse
 
ben profile image
Ben Halpern

@maestromac can you take a look at the {%raw%} issue here?

Collapse
 
maestromac profile image
Mac Siri

Hey @botherchou ! if you change all the triple tildas(~) to a triple backticks(`) It will fix the raw/endraw issue!

Collapse
 
andrewchou profile image
Andrew Chou

Ok I'll try that. I used the tildas because when I used the backticks, the markdown rendered the first two backticks as a quotations ("), so it wouldn't even create a codeblock.

Thread Thread
 
ben profile image
Ben Halpern

Mac, let's try and make this a bit more robust so it can't cause this issue.

Collapse
 
andrewchou profile image
Andrew Chou

Just changed the blocks using the template literals to use the backticks. Left all the other ones with the tildas. Thanks!