Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Interoperable markers for automatic heading numbers

Дата публикации: 27-07-2026 14:07:01

Assuming the major output format HTML had made its start attribute from <ol> elements available to structural element types like <section> and also the value attribute from <li> in headings <h1>…<h6>, this topic would probably have been solved more often in MD dialects.
Since there are no explicit section in MD/CM, supplying a start value for automatic heading numbering won’t be easy or straightforward.
For author-specified, manual values within headings themselves, I see at least two viable approaches, a special attribute syntax within the info string or a special inline anchor (perhaps derived from link syntax) wrapping the number:
## Heading Text ## #section12 [§12]
## [§12](^section12) Heading Text
Others would likely suggest their preferred variant of generic block attribute syntax, e.g.:
## Heading Text {value=§12}
## {value: §12} Heading Text


Основное содержимое страницы с новостью.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Using link reference definitions as invisible structural markers — sound, or a bad idea?01027-09-2026
2Transclusion or including sub-documents for reuse011.7226-09-2026
3Making Markdown a first-class citizen of the Web07.314-09-2026
4MD Studio - a personal HTML-to-Markdown project014.9605-09-2026
5A list of common mistakes that people make while writing Markdown010.420-08-2026
6Three things I decided not to parse, building a live-preview editor012.6927-08-2026
7Let table rows wrap over several lines07.9803-10-2026
8Code fences in list items05.3318-09-2026
9Markdific - A better tool to open, read, edit and export Markdown files07.2305-10-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 7.72. Источник: talk.commonmark.org.