Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ban level 1 headings #14

Closed
iansan5653 opened this issue Jun 1, 2023 · 1 comment
Closed

Ban level 1 headings #14

iansan5653 opened this issue Jun 1, 2023 · 1 comment

Comments

@iansan5653
Copy link
Owner

All GitHub pages already have level 1 headings, so these should be avoided in user-generated content.

We should possibly consider the same for level 2 since most pages already have level 2 headings, restricting headings to level 3 and higher.

@iansan5653
Copy link
Owner Author

Since this is very specific to this extension (wouldn't apply to regular MD documents outside of GitHub.com) I think I'll probably implement it as a custom rule. Maybe it shouldn't apply to ProseMirror editors 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant