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

Add handling for headings inside code-blocks #95

Merged
merged 9 commits into from
Dec 25, 2024
Merged

Conversation

dvcrn
Copy link
Owner

@dvcrn dvcrn commented Dec 20, 2024

Adds handling for when the first heading is in a codeblock and skips it

Also adds unit tests since we didn't have any, and all the edge-cases were getting a bit much

Closes #93

@dvcrn
Copy link
Owner Author

dvcrn commented Dec 20, 2024

Okay it's a bit late and my brain is dead, will continue this another day

@dvcrn dvcrn merged commit 285ab20 into master Dec 25, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

One line of code in the article will cause the "Sync Filename to Heading" to fail.
1 participant