<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Markdown UDL Help]]></title><description><![CDATA[<p dir="auto">The default UDL / User Defined Language file for Markdown is incomplete and not formatting correctly for some elements - e.g. changing text color when it should only be bold.</p>
<p dir="auto">So, I have created an updated one which adds missing (e.g. ‘==highlighted text==’) formatting and corrects other issues. However, there’s a couple of issues I can’t correct - either because the UDL editor is lacking or I am.</p>
<ol>
<li>
<p dir="auto">using ‘*’ to start an unordered list is incorrectly picking up <em>italic</em> from the content formatting of ‘*’</p>
</li>
<li>
<p dir="auto">the formatting for blockquote ‘&gt;’ is being applied when ‘&gt;’ is used in content - i.e. it should only apply when used at beginning of line</p>
</li>
</ol>
<p dir="auto">I’d like to get these fixed before submitting this UDL as new default. Suggestions please?</p>
<p dir="auto">Test file and UDL - the forum won’t let me link to download file, sooo…</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25317/markdown-udl-help</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 00:21:08 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25317.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Jan 2024 22:51:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Markdown UDL Help on Wed, 19 Aug 2026 21:36:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dcog989" aria-label="Profile: dcog989">@<bdi>dcog989</bdi></a> Thanks for this - if you have any tweaks or updates you’ve made since this comment, let me know!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106151</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106151</guid><dc:creator><![CDATA[Jon Moore]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:36:56 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Sat, 06 Jan 2024 08:28:21 GMT]]></title><description><![CDATA[<p dir="auto">I can now post links - here is the UDL and test MD - <a href="https://drive.google.com/file/d/193FHJrGEL7MUIuy86khVorLLNW_HTg6P/view?usp=sharing" rel="nofollow ugc">https://drive.google.com/file/d/193FHJrGEL7MUIuy86khVorLLNW_HTg6P/view?usp=sharing</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/91760</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91760</guid><dc:creator><![CDATA[dcog989]]></dc:creator><pubDate>Sat, 06 Jan 2024 08:28:21 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Sat, 06 Jan 2024 08:25:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rdipardo" aria-label="Profile: rdipardo">@<bdi>rdipardo</bdi></a> said in <a href="/post/91747">Markdown UDL Help</a>:</p>
<blockquote>
<p dir="auto">but you can’t have both.</p>
</blockquote>
<p dir="auto">I guessed as much but thanks for ticket and confirmation.</p>
<blockquote>
<p dir="auto">placing &gt; with “Operators2” instead</p>
</blockquote>
<p dir="auto">I tried that suggestion but no change in behavior. It’s a small edge case in an imperfect solution so I’m going to leave it as is.</p>
<p dir="auto">Thanks for further info on where UDL is lacking - on the upside it justifies me spending more time in VS Code which is really growing on me.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91759</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91759</guid><dc:creator><![CDATA[dcog989]]></dc:creator><pubDate>Sat, 06 Jan 2024 08:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Sat, 06 Jan 2024 07:39:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a></p>
<p dir="auto">It’s my first time playing with UDL and I did feel a bit like I was reinventing the wheel with just a rock and a stick to work with. Thanks for suggesting the additional lexer route but I’m not inclined to go down that rabbit hole - mainly due to lack of time and talent.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91757</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91757</guid><dc:creator><![CDATA[dcog989]]></dc:creator><pubDate>Sat, 06 Jan 2024 07:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Sat, 06 Jan 2024 03:37:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dcog989" aria-label="Profile: dcog989">@<bdi>dcog989</bdi></a> said in <a href="/post/91741">Markdown UDL Help</a>:</p>
<blockquote>
<ol>
<li>using ‘*’ to start an unordered list is incorrectly picking up <em>italic</em> from the content formatting of ‘*’</li>
</ol>
</blockquote>
<p dir="auto">Have a look at <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11956#issuecomment-1200370460" rel="nofollow ugc"><strong>Underscore don’t work as it should in Markdown</strong> (<em>sic</em>)</a>; as in that case, the UDL looks for <em>delimiters</em> before it looks for <em>keywords</em>, and the first match prevails, so a <code>*</code> will always be taken for the opening <code>*</code> of a <code>*...*</code> span, matching the pattern <code>12* 13\ 14((EOL *))</code>. You could remove the delimiter pattern to apply the keyword style instead, but you can’t have both.</p>
<blockquote>
<ol start="2">
<li>the formatting for blockquote ‘&gt;’ is being applied when ‘&gt;’ is used in content - i.e. it should only apply when used at beginning of line</li>
</ol>
</blockquote>
<p dir="auto">The blockquote marker (encoded as <code>&amp;gt;</code>) appears to be grouped with <a href="https://ivan-radic.github.io/udl-documentation/operators/" rel="nofollow ugc">“Operators1” keywords</a>; that means it matches at any position, i.e. all surrounding whitespace is ignored . At most, you can suppress the blockquote style when <code>&gt;</code> is touching other text by placing <code>&amp;gt;</code> with “Operators<strong>2</strong>” instead, e.g.</p>
<p dir="auto"><img src="/assets/uploads/files/1704511422814-mrkdn-custom-udl.png" alt="mrkdn-custom-udl.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">There is currently no UDL specification that can match the start of a line. despite being a requested feature (<em>see below</em>).</p>
<hr />
<ul>
<li>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8153" rel="nofollow ugc"><strong>((BOL)) needed… UDL counterpart to ((EOL))</strong></a></p>
</li>
<li>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11357" rel="nofollow ugc"><strong>New feature’s request: ((BOL)) delimiter for UDL (or something like that)</strong></a></p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/91747</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91747</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Sat, 06 Jan 2024 03:37:13 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Fri, 05 Jan 2024 23:09:21 GMT]]></title><description><![CDATA[<p dir="auto">I think the core problem is that the UDL system is inherently buggy. When I make a UDL, I assume there will be bugs and figure that if I want something better, I will have to either write my own <a href="https://github.com/ScintillaOrg/lexilla" rel="nofollow ugc">Lexilla lexer</a> or use the <a href="https://github.com/Ekopalypse/EnhanceAnyLexer" rel="nofollow ugc">EnhanceAnyLexer</a> plugin.</p>
<p dir="auto">That’s not to say that what you’re looking for is impossible. It may be possible, but I’m just giving my hot take.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91744</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91744</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Fri, 05 Jan 2024 23:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Fri, 05 Jan 2024 23:16:58 GMT]]></title><description><![CDATA[<p dir="auto">Markdown test file:</p>
<pre><code># H1 - Markdown Quick Ref

## H2 - headings should have blank lines before and after

### H3

*Italics*, **bold**, and ***super important***! _Or_ __use__ ___underscores___. *Mixed for __emphasis__*. Be consistent - first use defines.

You can ==highlight words==, ~~strikethrough~~, and line break with 2 spaces at end.  
Use emoji :joy:? Or subscript H~2~O and superscript X^2^?

A sentence with a footnote.[^1]
[^1]: This is the footnote - but it can be placed anywhere.

----

&gt; blockquote

## Lists and Code {#lists}

1. Ordered list
2. Second item
3. Third item

- Unordered list
- Second item
- Third item

* Unordered list

+ Unordered list

`print('Code goes here!')`

```python
{
num1 = 1.234
num2 = 3.142
}
```

## Links

An image - ![alt text](image.jpg).

</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/91743</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91743</guid><dc:creator><![CDATA[dcog989]]></dc:creator><pubDate>Fri, 05 Jan 2024 23:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to Markdown UDL Help on Fri, 05 Jan 2024 22:53:15 GMT]]></title><description><![CDATA[<p dir="auto">Markdown UDL:</p>
<pre><code>&lt;NotepadPlus&gt;
    &lt;UserLang name="Markdown 2" ext="md markdown" udlVersion="2.1"&gt;
        &lt;Settings&gt;
            &lt;Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" /&gt;
            &lt;Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="yes" Keywords7="yes" Keywords8="yes" /&gt;
        &lt;/Settings&gt;
        &lt;KeywordLists&gt;
            &lt;Keywords name="Comments"&gt;00# 01 02((EOL)) 03&amp;gt; 04((EOL))&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, prefix1"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, prefix2"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, extras1"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, extras2"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, suffix1"&gt;.&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, suffix2"&gt;.&lt;/Keywords&gt;
            &lt;Keywords name="Numbers, range"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Operators1"&gt;@ &amp;lt; &amp;gt; \&amp;lt; \&amp;gt; \\ \` \* \_ \{ \} \[ \] \( \) \# \+ \- \. \! \~ \| |:-: |:--: |:---: | :-: :--: :---: :|: |: :|&lt;/Keywords&gt;
            &lt;Keywords name="Operators2"&gt;- + :- :-- :--- :&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code1, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in code2, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, open"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, middle"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Folders in comment, close"&gt;&lt;/Keywords&gt;
            &lt;Keywords name="Keywords1"&gt;../ (../ http:// (http:// https:// (https:// mailto: (mailto: ftp:// (ftp:// ftps:// (ftps:// (/ /&lt;/Keywords&gt;
            &lt;Keywords name="Keywords2"&gt;==== ----&lt;/Keywords&gt;
            &lt;Keywords name="Keywords3"&gt;*** ___&lt;/Keywords&gt;
            &lt;Keywords name="Keywords4"&gt;** __&lt;/Keywords&gt;
            &lt;Keywords name="Keywords5"&gt;* _&lt;/Keywords&gt;
            &lt;Keywords name="Keywords6"&gt;** __&lt;/Keywords&gt;
            &lt;Keywords name="Keywords7"&gt;==&lt;/Keywords&gt;
            &lt;Keywords name="Keywords8"&gt;~~&lt;/Keywords&gt;
            &lt;Keywords name="Delimiters"&gt;00![ 00[ 01\ 02] 02] 03``` 03` 03~~~ 04\ 05``` 05((EOL `)) 05~~~ 06*** 07\ 08((EOL ***)) 09** 10\ 11((EOL **)) 12* 13\ 14((EOL *)) 15** 16\ 17((EOL **)) 18* 19\ 20((EOL *)) 21== 22\ 23((EOL ==))&lt;/Keywords&gt;
        &lt;/KeywordLists&gt;
        &lt;Styles&gt;
            &lt;WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="COMMENTS" fgColor="0080C0" bgColor="D5F1FF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="LINE COMMENTS" fgColor="FF8000" bgColor="FFFFFF" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS2" fgColor="FF8000" bgColor="FFFFFF" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS3" fgColor="000000" bgColor="FFFFFF" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="2" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS7" fgColor="0080C0" bgColor="DBF3FF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="KEYWORDS8" fgColor="FF0000" bgColor="FFD7D7" fontStyle="4" nesting="0" /&gt;
            &lt;WordsStyle name="OPERATORS" fgColor="8080FF" bgColor="FFFFFF" fontStyle="1" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN CODE1" fgColor="333333" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN CODE2" fgColor="333333" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="FOLDER IN COMMENT" fgColor="333333" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS1" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS2" fgColor="FF0080" bgColor="FFFFFF" fontStyle="0" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS4" fgColor="000080" bgColor="FFFFFF" colorStyle="0" fontStyle="1" nesting="65600" /&gt;
            &lt;WordsStyle name="DELIMITERS5" fgColor="000080" bgColor="FFFFFF" colorStyle="0" fontStyle="2" nesting="32800" /&gt;
            &lt;WordsStyle name="DELIMITERS6" fgColor="000080" bgColor="FFFFFF" colorStyle="0" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS7" fgColor="000080" bgColor="FFFFFF" colorStyle="0" fontStyle="3" nesting="0" /&gt;
            &lt;WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFF80" fontStyle="0" nesting="0" /&gt;
        &lt;/Styles&gt;
    &lt;/UserLang&gt;
&lt;/NotepadPlus&gt;

</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/91742</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91742</guid><dc:creator><![CDATA[dcog989]]></dc:creator><pubDate>Fri, 05 Jan 2024 22:53:15 GMT</pubDate></item></channel></rss>