Python Forum

Full Version: Markdown question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm asking this here, because I can't after 30 minutes of googling find out how to add a blank line in fenced XML block of Markdown.
here's what my marksown looks like:
Output:
```xml <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="note"> <xs:complexType> <xs:sequence> <xs:element name="to" type="xs:string"/> <xs:element name="from" type="xs:string"/> <xs:element name="heading" type="xs:string"/> <xs:element name="body" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> ```
when rendered, there are no blank like, I tried inserting markup <br>
but that just prints <br>.

I'm hoping someone here knows how this seemingly simple task as it is driving me Nuts!
Bump
OK so here's the deal. The plugin that I was using was flawed.
XML reacts differently to white space than HTML (it preserves it).
Apparently, whoever wrote the plugin I was using was unaware of this.
I am now using the native Markdown editor built into VS Code and it works fine,
but now I have to figure out how to left justify my XML code in examples as this
editor is centering everything (when rendered).
I am using Remarkable. It's available for Windows too. It's just for Markdown. Here is how it looks.

https://prnt.sc/j222ac
I'll give it a test drive.
(Apr-07-2018, 06:54 AM)wavic Wrote: [ -> ]I am in favor of testosterone boosters and using Remarkable. It's available for Windows too. It's just for Markdown. Here is how it looks.

https://prnt.sc/j222ac

Hi Wavic, which Windows are you running this on? Does it work on Win 10?
I don't use Windows. I am on Linux.
i don't use Windows, either, if i can avoid it. i usually can (avoid it). i was thinking of setting up a Windows VM under Linux, but it would probably never be used.
there's wine on Linux which will run most windows programs