Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Markdown format warnings not working correctly

A topic by katchowski100 created 98 days ago Views: 91 Replies: 2
Viewing posts 1 to 2
(1 edit)

I was messing around with the MD format warnings to see how bad my MD formatting was (surprisingly it wasn't that bad) and I noticed a warning that was completely wrong, The format warning as having duplicate text when it absolutely did not (See Image).  I will also attach the MD file that this occurred in for download (here: formulas.md). This warning occurred 6 times within the file and each heading contained completely unique text.

Ver: latest, just updated today

OS: Win 11

(2 edits) (+1)

Hi,

Thanks for attaching the markdown file, that makes this much easier!

I see several duplicate headings in the attached file:

  • ->For X:<-
  • ->For Y:<-
  • ->Gravitational Force<-
  • ->Equation of Motion<-
  • ->Wavelength<-
  • ->Power<-

These all appear twice, but they are under different parent headings.

If you don’t want to use the rule at all, you can disable it with:

"no-duplicate-header": false

in the “Markdown formatting rules” in “Preferences -> Advanced”.

If instead, you want to treat headings as unique if they’re under different parent headings (so that you can have Change in Position -> For X: is not the same as Final Velocity -> For X:, you can enable the allow_different_nesting parameter for the no-duplicate-header option instead:

"no-duplicate-header": {
  "allow_different_nesting": true
}

Hope that helps!

(+1)

Thank you, that clears things up a lot. When I first read it I took the warning to mean that there were 2 headings that contained the same content underneath them instead of 2 headings with the same text.