We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am using tomarkdown.ToMarkdown api to get markdown content of a certain page. For code block, it generate markdown as below
code
instead of
```python code ```
I wonder if there is anyway to keep coding language attributes like the second one.
Thanks!
The text was updated successfully, but these errors were encountered:
I don't have the bandwidth to work on tomarkdown but I'll merge PRs.
You would have to change https://github.com/kjk/notionapi/blob/master/tomarkdown/markdown.go#L318
You can also implement custom rendering just for your code using Converter.RenderBlockOverride
Converter.RenderBlockOverride
Sorry, something went wrong.
No branches or pull requests
Hi,
I am using tomarkdown.ToMarkdown api to get markdown content of a certain page.
For code block, it generate markdown as below
instead of
I wonder if there is anyway to keep coding language attributes like the second one.
Thanks!
The text was updated successfully, but these errors were encountered: