Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Markdown question
#1
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!
Reply
#2
Bump
Reply
#3
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).
Reply
#4
I am using Remarkable. It's available for Windows too. It's just for Markdown. Here is how it looks.

https://prnt.sc/j222ac
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
I'll give it a test drive.
Reply
#6
(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?
Reply
#7
I don't use Windows. I am on Linux.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#8
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.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#9
there's wine on Linux which will run most windows programs
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Scratch pad for writing forum threads / posts with markdown/markup Drone4four 2 411 Feb-25-2024, 08:46 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020