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

Code blocks not converted to anything #131

Open
octylFractal opened this issue Aug 28, 2023 · 2 comments
Open

Code blocks not converted to anything #131

octylFractal opened this issue Aug 28, 2023 · 2 comments

Comments

@octylFractal
Copy link

If I add a code block (see "Insert a code block" on https://support.google.com/docs/answer/10710316) to a document and try to export it, it is missing in the output with no errors or warnings. Instead, it should be exported as a markdown code block.

@evbacher
Copy link
Owner

Docs to Markdown doesn't currently support converting smart chips (though I'll check it out when I get some time). The link you refer to only talks about smart chips and building blocks, not code blocks.

If you create a paragraph in constant-width font, Docs to Markdown will convert it to a Markdown code block. See https://github.com/evbacher/gd2md-html/wiki#text-element-conversion-features for details.

@octylFractal
Copy link
Author

Oh, odd. It actually does mention code blocks for me when I'm logged in, so that must be a private feature. Oops :)

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

No branches or pull requests

2 participants