how can I add highlighting to the Bear or any other CSS ?
Hello,
I am a registered user.
Bear app notes allow for highlighting. Highlighted section are delimited by ::highlight::
I have many texts to print and could not find any highlight in any of your CSS models, including the bear.css
thanks very much Brett !
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 09 Jul, 2020 02:17 PM
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.
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).
- Brett
2 Posted by rover213 on 09 Jul, 2020 02:18 PM
thank you Brett !
Jean Lette
[email blocked]
Support Staff 3 Posted by Brett on 09 Jul, 2020 02:19 PM
You would need to convert ::highlight:: to a <mark> tag or a block tag with a class you could target with custom CSS.
- Brett
Support Staff 4 Posted by Brett on 09 Jul, 2020 10:08 PM
I added ::marker:: support to the beta version I released today. Feel
free to try it out:
https://brettterpstra.com/2020/07/09/the-next-big-thing-for-marked-2/
-Brett
5 Posted by rover213 on 10 Jul, 2020 06:03 AM
thanks very much Brett !!