Replies: 5 comments 4 replies
-
No opinion on specific concrete syntax, but, to starwman |
Beta Was this translation helpful? Give feedback.
-
It's common in markdown to put the title in the (yaml) front matter. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Yes, in pandoc we use
or in a a YAML format
I think it's a bit artificial to give the document title special treatment when it is just one of a number of metadata, though usually it's the most important of these. |
Beta Was this translation helpful? Give feedback.
-
This is a bit off-topic, but something that I also find frustrating is that there are often limitations in pushing down the header level when rendering Markdown in other tools.
Some of us strict HTML followers take this spec and conclude from it that the only part of a web page that should be considered as an Some tools forcibly define the top-heading level to Would it be possible to define the starting level? Just something that I thought might be worth giving my 2cts on. :) PS: I am very aware that there are different opinions on this HTML spec but it would be nice if both interpretations were kept in mind ❤️ |
Beta Was this translation helpful? Give feedback.
-
HTML says there can be only one
h1
, which doubles as a title of the document.However, in typical markdown usage it's very common to see
That is, people use
#
as a generic section title.This is understandable: the fact that
#
is thee title of the document, and that sections should be##
is a somewhat arcane knowledge.So, I am thinking that perhaps we should roll with this usage, and create some dedicated syntax for document's title:
Benefits:
#
as a document title, and#
as a section titleBeta Was this translation helpful? Give feedback.
All reactions