Re: Issue with parsing Markdown headers as XML
Leif Halvard Silli <[email protected]> Sun, 12 Oct 2025 21:25:26 +0200
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============7572057324400172398==
Content-Type: multipart/alternative;
boundary="------------7UvXbSoPFh00t6qHNDhMUXJw"
Content-Language: nn-NO
This is a multi-part message in MIME format.
--------------7UvXbSoPFh00t6qHNDhMUXJw
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 12.10.2025 21:19, by Leif Halvard Silli:
> On 11.10.2025 11:21, by Hussein Shafie:
>> It's neither the first example or the second one.
>>
>> Type <p>-List item 1</p>
>
> The above is also not correct. This is correct:
>
> Type <p>-[ space character ]List item 1</p>
>
>> then press Ctrl+Shift-SPACE.
>>
> Indeed. Provided there is a space after the "-".
Quoting Markdown Guide [1]:
«Markdown applications don’t agree on how to handle a missing space
between the number signs (|#|) and the heading name. For compatibility,
always put a space between the number signs and the heading name.»
So at the very least, I am not alone in performing this unbest practise ...
[1] https://www.markdownguide.org/basic-syntax/#heading-best-practices
Leif Halvard Silli
--------------7UvXbSoPFh00t6qHNDhMUXJw
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 12.10.2025 21:19, by Leif Halvard Silli:</p>
<blockquote type="cite"
cite="mid:[email protected]">On
11.10.2025 11:21, by Hussein Shafie:</blockquote>
<blockquote type="cite"
cite="mid:[email protected]">
<blockquote type="cite">It's neither the first example or the
second one.
<br>
<br>
Type <p>-List item 1</p> </blockquote>
<br>
The above is also not correct. This is correct:
<br>
<br>
Type <p>-[ space character ]List item 1</p>
<br>
<br>
<blockquote type="cite">then press Ctrl+Shift-SPACE.
<br>
<br>
</blockquote>
Indeed. Provided there is a space after the "-".</blockquote>
<p>Quoting Markdown Guide [1]:</p>
<p>«Markdown applications don’t agree on how to handle a missing
space between the number signs (<code
class="language-plaintext highlighter-rouge">#</code>) and the
heading name. For compatibility, always put a space between the
number signs and the heading name.»</p>
<p>So at the very least, I am not alone in performing this unbest
practise ...</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://www.markdownguide.org/basic-syntax/#heading-best-practices">https://www.markdownguide.org/basic-syntax/#heading-best-practices</a></p>
<p>Leif Halvard Silli</p>
</body>
</html>
--------------7UvXbSoPFh00t6qHNDhMUXJw--
--===============7572057324400172398==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
--===============7572057324400172398==--