Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change header levels while transforming markdown #1

Open
jeroenheijmans opened this issue Mar 11, 2023 · 0 comments
Open

Change header levels while transforming markdown #1

jeroenheijmans opened this issue Mar 11, 2023 · 0 comments
Assignees
Labels
enhancement Changes and new features

Comments

@jeroenheijmans
Copy link
Contributor

jeroenheijmans commented Mar 11, 2023

It would be nice if each blog post .md file would be self-contained, and starting with a h1 heading. That is the "right" way to set up that content. Plus it will help with some day creating a page-per-blogpost when the /devlog page grows too large.

But, when we do this it would be necessary to be able to bump down each heading level when transforming markdown, otherwise /devlog will get multiple h1 headings (one per blogpost), and I don't like that: it should have at most one h1. So, the main to-do's would be:

  • Change all existing blog posts to start with h1 headings and consistently move down levels
  • Change markdown transformation so /devlog won't get multiple h1 headings as a consequence

Additionally, let's take along some other relevant changes:

  • Change the "author + date" line in each blog post to not be a heading anymore, just a highlighted, emphasized tag line below each h1
  • Change the level of all other headings to be appropriate
@jeroenheijmans jeroenheijmans added the enhancement Changes and new features label Mar 11, 2023
@jeroenheijmans jeroenheijmans self-assigned this Mar 11, 2023
jeroenheijmans added a commit that referenced this issue Mar 21, 2023
Fixes #4 (spell check on old posts)
See also #1 (header levels, this commit is prep for that)
See also #6 (this commit is prep for that)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes and new features
Projects
None yet
Development

No branches or pull requests

1 participant