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

Allow (swallow) leading blank space #247

Open
cabo opened this issue Nov 28, 2024 · 0 comments
Open

Allow (swallow) leading blank space #247

cabo opened this issue Nov 28, 2024 · 0 comments

Comments

@cabo
Copy link
Owner

cabo commented Nov 28, 2024

The first line of a kramdown-rfc input file decides whether kramdown-rfc should work on a snippet only, whether we are looking at a complete kramdown-rfc document ("---" in first line, followed by YAML Metadata), or or whether we actually are looking at mmark input ("%%%" in first line).

Be more robust against this being obscured by leading blank space.

(Solution is not completely trivial because of line number management for error messages.)

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