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 Id to header #77

Closed
pappou99 opened this issue Nov 22, 2022 · 0 comments · Fixed by #78
Closed

Add Id to header #77

pappou99 opened this issue Nov 22, 2022 · 0 comments · Fixed by #78
Labels
good first issue Good for newcomers

Comments

@pappou99
Copy link

Problem
I'm including markdown files into LaTeX, which I generate with mdutils.
Before I can do this I have to slice some sections, which I don't want to include. This can only be done by named Id's.
Id's are described in Extended Markdown Sythax

Describe the solution you'd like
Please add an option to add an id to a new header like:

MdUtils.new_header(level=3, title="My Great Heading", id="greatheader")

so it returns:

### My Great Heading {#greatheader}

or so

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

Successfully merging a pull request may close this issue.

2 participants