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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

only ignore existing toc if in write mode #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ebrahimebrahim
Copy link

When --no-write is used, there's no reason to skip generating and printing a TOC if one already exists.

Related to #7 and #13. Does not resolve them because these are concerned with "write" mode.

This is just a quick fix for --no-write

Thanks for this package BTW, it's great 馃檪

@ebrahimebrahim
Copy link
Author

@alexander-lee want to merge this?

@alexander-lee alexander-lee self-requested a review March 19, 2023 22:51
Copy link
Owner

@alexander-lee alexander-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late response! Yeah this looks good!

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.

None yet

2 participants