-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
Suggestion/Enhancement
Currently, post titles are rendered as is even if they are formatted as markdown. For example, this post has the raw title text as:
CSS `stretch` sizing keyword
But typo right now when built renders it as follows:
The same goes for post listing pages:
The <title> tag and og:title are also rendered the same way, which is probably not desirable as link previews will now contain all the markdown syntax.
Proposal
This feels a bit janky to me and it might be desirable to parse these as markdown itself but in different ways depending on context:
- For main post title: markdownify title and render it.
- For breadcrumbs: markdownify and plainify to convert into plain text.
- For
<title>andog:title: markdownify and plainify to convert into plain text. - For post listings, markdownify post titles and render them.
- Perhaps a site-wide config or page-level config to turn this on/off is doable
There might be other areas I missed but wanted to get feedback first.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

