tag:support.markedapp.com,2011-09-11:/discussions/questions/10130-how-can-i-add-highlighting-to-the-bear-or-any-other-cssMarked: Discussion 2020-07-10T06:04:00Ztag:support.markedapp.com,2011-09-11:Comment/484527612020-07-09T13:48:48Z2020-07-09T13:48:48Zhow can I add highlighting to the Bear or any other CSS ?<div><p>Hello,<br>
I am a registered user.<br>
Bear app notes allow for highlighting. Highlighted section are delimited by ::highlight::<br>
I have many texts to print and could not find any highlight in any of your CSS models, including the bear.css<br>
thanks very much Brett !</p></div>rover213tag:support.markedapp.com,2011-09-11:Comment/484527612020-07-09T14:17:02Z2020-07-09T14:17:02Zhow can I add highlighting to the Bear or any other CSS ?<div><p>That syntax is not Markdown, and Markdown has no correlating syntax. I would consider adding support for it eventually, since I’m already supporting Bear’s tag syntax, but at this point you can’t expect non-Markdown syntax to work with a Markdown previewer.</p>
<p>It would be simple, however, to write a custom preprocessor to handle it, if one were handy with a scripting language (Ruby, Python, Perl could all handle it).</p>
<ul>
<li>Brett</li>
</ul></div>Bretttag:support.markedapp.com,2011-09-11:Comment/484527612020-07-09T14:18:17Z2020-07-09T14:18:17Zhow can I add highlighting to the Bear or any other CSS ?<div><p>thank you Brett !<br>
Jean Lette<br>
<a href="mailto:jlette111@gmail.com">jlette111@gmail.com</a></p></div>rover213tag:support.markedapp.com,2011-09-11:Comment/484527612020-07-09T14:19:40Z2020-07-09T14:19:40Zhow can I add highlighting to the Bear or any other CSS ?<div><p>You would need to convert ::highlight:: to a tag or a block tag with a class you could target with custom CSS.</p>
<ul>
<li>Brett</li>
</ul></div>Bretttag:support.markedapp.com,2011-09-11:Comment/484527612020-07-09T22:08:01Z2020-07-09T22:08:01Zhow can I add highlighting to the Bear or any other CSS ?<div><p>I added ::marker:: support to the beta version I released today. Feel<br>
free to try it out:<br>
<a href="https://brettterpstra.com/2020/07/09/the-next-big-thing-for-marked-2/">https://brettterpstra.com/2020/07/09/the-next-big-thing-for-marked-2/</a></p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/484527612020-07-10T06:03:59Z2020-07-10T06:03:59Zhow can I add highlighting to the Bear or any other CSS ?<div><p>thanks very much Brett !!</p></div>rover213