How to properly create sections in marked? #2464
Unanswered
4e576rt8uh9ij9okp
asked this question in
Q&A
Replies: 1 comment 4 replies
-
There is no section element in markdown but you can use HTML in markdown. Your example in markdown would be: <article>
# About cars
<section>
## Engine Types
Some text
</section>
<section>
## Car types
Some text
</section>
</article>
(The blank lines are needed before and after markdown content otherwise marked will think it is part of the HTML and leave it alone.) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
so the knowledge I have is that the right structure of HTML is as follows:
is there an option for this?
Beta Was this translation helpful? Give feedback.
All reactions