ttscoff / nv

MultiMarkdown version of Notational Velocity with Markdown editing features and preview
http://brettterpstra.com/projects/nvalt
BSD 3-Clause "New" or "Revised" License
1.77k stars 197 forks source link

Feature request: Mark text yellow #405

Open felixtripp opened 7 years ago

felixtripp commented 7 years ago

I would love to highlight specific parts of text in yellow.

Background: I copy/paste a lot of text into nvALT. While reading the text I like to highlight most notable parts of it without interfering with the original markup of the author.

The markdown documentation states, it is fine to use HTML if one needs a feature that is not part of Markdown. I tried editing an html file created with nvALT and marking text with <mark>marked text</mark> Unfortunately nvALT interprets it as bold and throws away the <mark> as soon as it reads the file.

elasticthreads commented 7 years ago

You should be able to get this in the preview window by editing the CSS file used by the preview to render your html/markdown. Here's a post by @ttscoff on how to do it: http://brettterpstra.com/2013/04/06/customizing-the-nvalt-preview/

felixtripp commented 7 years ago

Thanks @elasticthreads, but at first it would be good to be able to mark text in nvALT with a shortcut as I do with CMD-B for bold for example.