giellalt / giella-core

Build tools and build support files as well as developer support tools for the GiellaLT repositories.
https://giellalt.uit.no
GNU General Public License v3.0
7 stars 2 forks source link

Headers in doccomments are not correctly converted when used with !!=/≈ + @CODE@ #12

Closed snomos closed 2 years ago

snomos commented 2 years ago

In the file scripts/doccomments2ghpages.awk. The extraction leaves a space in front of the header symbol #, which makes the Markdown parser treat it as regular text instead of a header:

Multichar_Symbols  !!≈ # Definitions for @CODE@

results in this:

 # Definitions for Multichar_Symbols

(note the space at the beginning of the line).