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

Determine <code> blocks #57

Open
ahmetb opened this issue Aug 23, 2017 · 2 comments
Open

Determine <code> blocks #57

ahmetb opened this issue Aug 23, 2017 · 2 comments

Comments

@ahmetb
Copy link

ahmetb commented Aug 23, 2017

This project is awesome.

It would be even more awesome if it detected monospace fonts (e.g. Courier, Roboto Mono) and produced inline markdown surrounded with single backticks (producing a <code>foo</code>).

This would work if the monospace-styled text is in a paragraph with normal text.

@rickyzhang82
Copy link

rickyzhang82 commented May 29, 2018

Why specific font? Why not just use three three back-ticks like ``` to quote the code block in google doc?

But it seems that original code just eat all the string. I tried to figure it out. But I'm not a Javascript developer. That takes me some time.

@popekim
Copy link

popekim commented Jul 4, 2018

courier new font detection logic was in the code, but google script change it is broken. I made a pull request that fixes it.

#61

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

3 participants