Community discussions
I'd like to suggest adding support for **highlighted / marked text** in Markua.
A number of Markdown editors and extensions already use the following simple and readable syntax:
This is ==important text== in a paragraph.
The expected rendering would be equivalent to the semantic HTML `<mark>` element: highlighted text, typically displayed with a yellow background.
This would be particularly useful for technical and educational books, where authors often need to draw the reader's attention to a few words or a short passage without using bold or italics.
Ideally, I think this should be a **semantic feature rather than specifically a "yellow background" feature**.
For example:
This is ==important text==.
could represent "marked/highlighted text", with the actual appearance determined by the Leanpub theme and output format.
It would be useful if this worked consistently in:
- EPUB
- Leanpub's web reader
For PDF, the default rendering could be a yellow background when color is available, with an appropriate alternative for grayscale or print output.
Since `==text==` is already familiar to users of several Markdown implementations and editors, it would also be easy to write, easy to remember, and remain perfectly readable in the Markua source itself.
CommonMark does not define a native syntax for `<mark>`, but `==text==` has become a fairly common convention among Markdown extensions. It therefore seems like a natural extension for Markua, especially for a markup language designed specifically for writing books.
Would you consider adding this to Markua, possibly as part of the inline/span formatting syntax?
Hi Emmanuel,
Thank you for the suggestion! Highlighted text with ==text== is not currently supported in Markua, sorry about that! We've added it to our discussion queue.
Kind regards,
Michael