Superhero with Java powers && Gamer && (Sci-Fi & Star Wars geek) && Bulgarian Java User Group Leader && nerds2nerds podcaster && http://java.beer organizer ? this : null
Nice post,
however to me it is not clear how to add highlight for the code template ?
By default in Markdown you can write with 3 ` the begining of a code block and the end with 3 ` however also at the beginning you can write the language for highlight which doesnt seems to work.
Example of markdown with highlight not in dev.to but in general :
```javascript
console.log("this should be highlighted with javascript but this is not the case); ```
So can you explain how to paste a code block WITH a highlight intext in the post.
Ah! Got it - if I have a backtick (just a single one) in the post like you do BEFORE the three backticks, then the parser gets confused... try just doing threebackticks with the "javascript" and it should show up like this:
console.log("this should be highlighted with javascript but this is not the case);
Superhero with Java powers && Gamer && (Sci-Fi & Star Wars geek) && Bulgarian Java User Group Leader && nerds2nerds podcaster && http://java.beer organizer ? this : null
Nice post,
however to me it is not clear how to add highlight for the code template ?
By default in Markdown you can write with 3
`
the begining of a code block and the end with 3`
however also at the beginning you can write the language for highlight which doesnt seems to work.Example of markdown with highlight not in dev.to but in general :
`
`
`
javascriptconsole.log("this should be highlighted with javascript but this is not the case);
`
`
`
So can you explain how to paste a code block WITH a highlight intext in the post.
... oh weird! I just wrote this comment about how it should work, but then it didn't for me... I'm looking into it; not sure what's going on
Ah! Got it - if I have a backtick (just a single one) in the post like you do BEFORE the three backticks, then the parser gets confused... try just doing threebackticks with the "javascript" and it should show up like this:
Does that work for you?
We should add this to the markdown ? btw when writing post :))
Sometimes it looks it doesnt work .. its weird but now it works.. :) weird !
`
`
`
javascriptconsole.log("no color");
`
`
`
now in the post I have
`
*3 times but here bellow when trying I am typing just 3 times without SPACES and I got it !weird why it wasn't working above.