tajmone / Sublime-PML

Sublime Text 4 syntax for PML (Practical Markup Language)
https://tajmone.github.io/Sublime-PML/
MIT License
4 stars 0 forks source link

Chapter Titles: Transform Symbols before Indexing #3

Closed tajmone closed 3 years ago

tajmone commented 3 years ago

Chapter titles are being indexed as entity.name.section, markup.heading and meta.toc-list (the latter automatically adds them to symbols index).

We should apply symbols transformations before indexing the titles:

NOTE — The trailing = or # could be handy in the future, when/if we'll implement tracking headings levels, to visually indicate the heading nesting level, just like in markdown and AsciiDoc (==/ ##, ===/ ###, etc.)