Hide tags from export
Hi,
my markdown documents are full of tags throughout each document. It would be great to have an option to exclude tags from the printout. Let me know if I overlooked something.
Hans
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 20 Dec, 2020 08:12 PM
Please define "tags." I assume you mean hashtags?
- Brett
2 Posted by Hans Tammen on 20 Dec, 2020 08:26 PM
Hi Brett,
ah, yes. Like #sound #history #ambient #flux
I often have a tag after each paragraph.
Support Staff 3 Posted by Brett on 21 Dec, 2020 04:22 PM
I'll take this under consideration. Marked's support of tag highlighting is really just a convenience for Bear users, but it would be relatively easy to hide them, at least from PDF/Print export. My top priority right now is fixing PDF export on Big Sur, so this may have to wait a bit.
In the meantime, you can do it yourself by using Preferences->Style->Additional CSS. Click the "Edit CSS" button and paste this into the popup window:
Assuming you have #tags highlighted under Preferences->Processor->#Text is tag, this will hide the highlighted tags when printing or exporting as PDF.
4 Posted by Hans Tammen on 22 Dec, 2020 12:38 AM
Cool, thanks - totally works for me!
I could imagine lots of Markdown fans could use this, too, but then
maybe not everybody has tons of tags dispersed between their paragraphs.