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

how to set h1 header as chapter in latex output? #22

Closed
0x0f0f0f opened this issue May 16, 2021 · 2 comments
Closed

how to set h1 header as chapter in latex output? #22

0x0f0f0f opened this issue May 16, 2021 · 2 comments
Labels

Comments

@0x0f0f0f
Copy link

No description provided.

@MichaelHatherly
Copy link
Owner

h1 is fixed to section at the moment in CommonMark.jl. You can use a raw latex block to add chapters:

```{=latex}
\chapter{Title}
```

We could consider whether having a way to "shift" header levels is worth doing, but it might be more complexity than worth it for something that can be set using a {=latex} block like above.

@0x0f0f0f
Copy link
Author

Im doing this already. Thanks! Shifting header levels should is a quite complex feature to implement in CommonMark.jl

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

No branches or pull requests

2 participants