Markdown-to-HTML: Suppressing <br> tags
Are you missing a feature? Request its implementation here.
-
earlhood-eps
- Posts: 5
- Joined: Thu May 26, 2022 2:11 am
Markdown-to-HTML: Suppressing <br> tags
Post by earlhood-eps »
Experimenting with Oxygen for generating HTML output of Markdown documents. One behavior that is currently a show-stopper for me is Oxygen generating a <br> tag at the end of each line when converting a Markdown document into HTML. Can this be suppressed?
This behavior is inconsistent with all the other Markdown processors I have played with, where <br> tags are only generated when using a backslash at the end of a line or 2 spaces (which to use depends on processor, where for me, I use backslash [CommonMark specification]).
This behavior is inconsistent with all the other Markdown processors I have played with, where <br> tags are only generated when using a backslash at the end of a line or 2 spaces (which to use depends on processor, where for me, I use backslash [CommonMark specification]).
-
earlhood-eps
- Posts: 5
- Joined: Thu May 26, 2022 2:11 am
Re: Markdown-to-HTML: Suppressing <br> tags
Post by earlhood-eps »
As of now, mainly checking if Oxygen can be used to HTML-preview Markdown files. We have Markdown files that are eventually rendered by a server, but the server does not provide a preview capabilities for verifying MD syntax and display before posting, so looking at tools to allow for HTML preview, and if Oxygen converted MD to HTML similar to other processors, we can use Oxygen to edit and preview MD files before posting markdown files/edits to server. The server in question fully supports CommonMark along with some GFM extensions.
With CommonMark, <br> is only inserted if a line ends with a backslash character, '\'.
We already use Oxygen Editor for general XML document editing, so seeing if useful for Markdown editing and preview.
-
Radu
- Posts: 9630
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Markdown-to-HTML: Suppressing <br> tags
Hi,
I understand now, I added an internal issue to look into this, pasting the issue ID below:
EXM-56774 Markdown preview interprets simple line break in paragraph as HTML <br>
I will update this forum thread if we manage to fix this problem in a future Oxygen version.
Regards,
Radu
I understand now, I added an internal issue to look into this, pasting the issue ID below:
EXM-56774 Markdown preview interprets simple line break in paragraph as HTML <br>
I will update this forum thread if we manage to fix this problem in a future Oxygen version.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service