sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.8k stars 1.12k forks source link

Request: Option for disabling heading 1s #357

Open robbieaverill opened 8 years ago

robbieaverill commented 8 years ago

While this request could be considered as a more broad request to be able to disable various types of elements from being rendered, I'm focusing this particular request on the heading 1 element.

Why? Because you should only use an H1 element once per page for SEO/good content reasons.

I understand the requirement for this editor to be reusable among various applications, so I'm suggesting a setting to disable it from being rendered.

In my case, I'd have a separate text field for the heading 1. I'd like to prevent it from rendering in previews (including the editing preview), but still allow other headings to render.

dmcnzl commented 8 years ago

+1

arcs- commented 8 years ago

+1

GreenImp commented 7 years ago

Just to mention, since the release of HTML 5, it is perfectly semantically correct, and SEO friendly, to have multiple h1 tags on a page, provided that they are within different sections/articles.

Here's a (rather lengthy) but informative article explaining it: https://webdesign.tutsplus.com/articles/the-truth-about-multiple-h1-tags-in-the-html5-era--webdesign-16824

So allowing the h1s wouldn't be an SEO issue, any more.