--- Title: "Markdown Syntax Support" description: Describe the various markdown syntax and effect displays supported by NexT themes isCJKLanguage: false publishDate: 2025-01-25T20:52:18+08:00 lastmod: 2025-01-25T20:52:18+08:00 author: Mainroad originLink: https://mainroad-demo.netlify.app/demo/basic-elements/ categories: - Example - Markdown Syntax tags: - Markdown - Grammar toc: false draft: false url: demo/markdown-syntax.html --- Only use this article to test whether the various syntax written in the content of the `Markdown` file is supported when building a website using the `Hugo` engine in the `NexT` theme, and demonstrate the actual effect. ## Title Style Let's start with all possible headings, where the `
### SVG format
```html
```
## List type
### Ordered List
1. The first element
2. The second element
3. The third element
### Unordered List
* List elements
* Another element
* And other elements
### Nested List
Using HTML's `ul` element to implement.
According to Mozilla's website,My goal wasn't to make a ton of money. It was to build good computers. I only started the company when I realized I could be an engineer forever.
Firefox 1.0 was released in 2004 and became a big success.## Table Tables aren't part of the core `Markdown` spec, but `Hugo` supports them. | ID | Make | Model | Year | | --- | --------- | ------- | ---- | | 1 | Honda | Accord | 2009 | | 2 | Toyota | Camry | 2012 | | 3 | Hyundai | Elantra | 2010 | Colons can be used to align columns. | Tables | Are | Cool | |:----------- |:-------------:| ------------:| | align: left | align: center | align: right | | align: left | align: center | align: right | | align: left | align: center | align: right | You can also use inline Markdown. | Inline | Markdown | In | Table | | ---------- | --------- | ----------------- | ---------- | | *italics* | **bold** | ~~strikethrough~~ | `code` | ## Code Use Markdown syntax to write code blocks: ```html
Test
``` Use Hugo's `highlight` shortcode to write code blocks: {{< highlight html "hl_lines=2 5-7, linenostart=44" >}}Test
{{< /highlight >}} ## Other stuff — abbr, sub, sup, kbd, etc. GIF is a bitmap image format. H2O C6H12O6 Xn + Yn = Zn Press X to win. Or press CTRL+ALT+F to show FPS counter. As a unit of information in information theory, the bit has alternatively been called a shannon, named after Claude Shannon, the founder of field of information theory. Reference resources: - Refert from **Mainroad** theme [Basic Elements](https://mainroad-demo.netlify.app/post/basic-elements/)Content