Skip to content

Keep empty lines#191

Open
EliTheGingerCat wants to merge 6 commits intoevaera:masterfrom
EliTheGingerCat:fix-keep-empty-lines
Open

Keep empty lines#191
EliTheGingerCat wants to merge 6 commits intoevaera:masterfrom
EliTheGingerCat:fix-keep-empty-lines

Conversation

@EliTheGingerCat
Copy link
Copy Markdown
Contributor

Keeps lines that are entirely dashes.

Special case

A special case was added for "---" where it will always be a newline. I am not 100% sure if this should really be added since I think it is fair to say that even blank lines require proper indentation. Meaning, one would have to write something like this:

--- @class Car
--- 
--- A small vehicle with 4 wheels.

Notice the extra space on line 2.

Test input

I changed test input a bit but I believe it is all correct now.

Commit 62c7a6c is not really necessary and can be reverted, but I like it.

Closes #182

@YetAnotherClown YetAnotherClown added bug Something isn't working extractor labels Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working extractor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--- comments missing line breaks using moonwave-extractor

2 participants