Videos
Check out our tutorial video series.
Learn how to format headers in markdown with our step-by-step guide for GitHub. From specifying h1, h2, h3 sizes to code examples and more.
Let's use markdown to specify headers sizes (h1, h2, h3) and more.
Markdown is a simple format for writing content that can be converted to HTML (and other formats) by a tool of your choice. It is used as it is simpler than writing raw HTML and can be used to manage large content bases without need for a database.
Markdown can also be used when sending emails with MailSlurp!
It is often useful to test markdown features with test content. We can use poems from the public domain for this purpose instead of boring lorum ipsum.
What kind of thoughts now, do you carry. In your travels day by day. Are they bright and lofty visions, Or neglected, gone astray? Matters not how great in fancy, Or what deeds of skill you've wrought; Man, though high may be his station, Is no better than his thoughts. Catch your thoughts and hold them tightly, Let each one an honor be; Purge them, scourge them, burnish brightly, Then in love set each one free.
You can write a paragraph in markdown by adding a line:
To add a header use a symbol and a space before the heading.
The number of
symbols you place before a title specifies the header level to use in HTML.
Every markdown file should have a title using an H1. But for other headings you can increase the hash symbol count before the title.
See the MailSlurp email dashboard guide on how to send emails with markdown.
What do the other headers mean?
Symbol | HTML Tag | Example |
---|---|---|
# | H1 | # Title |
## | H2 | ## Subtitle |
### | H3 | ### Level 3 |
#### | H4 | #### Level 4 |
##### | H5 | ##### Level 5 |
If you want to include a code example in your markdown use triple backticks and include the language after the first set of ticks. Here is an example:
For other languages syntax highlighting can often be enabled:
Many code editors like VSCode and IntelliJ enable syntax highlighting for Markdown documents.
You can edit markdown in basically any editor so have fun.
Check out our tutorial video series.
Email and SMS guides for automation and testing.
View github project code for multiple languages.
Latest posts from the MailSlurp team.
Test, build, and automate messaging with a free MailSlurp account.