+1

MultiMarkdown mode not recognizing 'format: complete' on first line (should be case insensitive for keys)

Darin Morrison 12 lat temu zaktualizowano 12 lat temu 1
In the MultiMarkdown user guide on page 18 it says:

Metadata keys are case insensitive and stripped of all spaces during processing. This means that Base Header Level, base headerlevel, and baseheaderlevel are all the same.

However, in MultiMarkdown.tmLanguage, the check for "Format: complete" on the first line is case sensitive:

<key>firstLineMatch</key>

<string>^Format:\s*(?i:complete)\s*$</string>

Changing it to the following fixes the problem:

<key>firstLineMatch</key>

<string>^(?i:Format):\s*(?i:complete)\s*$</string>
If you vote down, please say why.

I'm not sure why anyone would bother to vote this down though – it's a bug report with a fix included, not a feature request.