Marked 2 incorrectly putting README badges in new lines

Juan Cruz Viotti's Avatar

Juan Cruz Viotti

26 Jan, 2016 01:52 PM

See how a GitHub README (from this repository: displays the badges in both GitHub and in Marked2.

Marked2 seems to be adding a `br` tag after each anchor. Is there a way to workaround this issue using custom CSS?

  1. Support Staff 1 Posted by Brett on 26 Jan, 2016 02:43 PM

    Brett's Avatar

    Under Preferences->Processor, you likely have Preserve line breaks in paragraphs enabled. If you need that feature, just make sure all of your badges are on a single line, otherwise disable (uncheck) that option.



  2. 2 Posted by Juan Cruz Viott... on 26 Jan, 2016 07:12 PM

    Juan Cruz Viotti's Avatar

    Hi Brett,

    That did the trick. Thank you very much!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Screenshot_2016-01-26_09.49.20.png 195 KB
  • Screenshot_2016-01-26_09.49.40.png 191 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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