Marked Not Showing Highlights
I'm using Bear streaming to Marked to create PDFs since I can make page breaks in Marked. You're a life saver!
I have a problem with the highlights. The highlights aren't carrying over on the templates. They appear as `==` throughout the Marked output. Is there a way to fix this or does this require an update from Marked? I even tried the Bear template from your gallery to see if that would be setup for it, but I got the same result.
Thanks for your time!
-
Bear_Example.png 73.4 KB
-
Marked_Example.png 70.3 KB
Comments are currently closed for this discussion. You can start a new one.
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
1 Posted by Khyle on 29 Jan, 2025 09:37 PM
I have this exact same issue. I was hoping to use Marked 2 for manuscripts in Bear that feature a lot of highlights. Could support for this be added to the app or could you give direction how to add it through CSS? I'm not a programmer and have no idea how to add this.
Support Staff 2 Posted by Brett on 07 Mar, 2025 03:31 PM
Please take a look at the custom processor in this post:
https://brettterpstra.com/2023/10/08/marked-and-bear/
Adding highlight support is relatively easy, you just need a custom preprocessor, or to define a processor like CommonMark as your Custom Processor.
Support Staff 3 Posted by Brett on 10 Mar, 2025 01:22 PM
Marked 2.6.45+ now supports ==highlighting==.
Brett closed this discussion on 10 Mar, 2025 01:22 PM.