Hi,
How can I modify the way grav translate markdown to html ?
I mean my markdown files contains many H1 and h2 headers. And i'd to translate them to h4 and h5.
Thanks for your help.
Archive
mmm, i don't undestand why you wanna change this, you can change your md file with # title to #### title :)
I'm a little confused also. If you have h1, h2 headers but you want to render them smaller, simply override the font-size via CSS.
If you want to physically have them output as <h4> and <h5> tags, simply change the markdown to use the h4 and h5 tags: #### h4 and ##### h5.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1981 | 9 years ago | ||
| 2 | 1336 | 9 years ago | ||
| 2 | 4536 | 9 years ago | ||
| 1 | 3391 | 9 years ago | ||
| 3 | 1486 | 9 years ago |