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

Always convert font consolas to code #10

Closed
tbm opened this issue May 12, 2020 · 2 comments
Closed

Always convert font consolas to code #10

tbm opened this issue May 12, 2020 · 2 comments

Comments

@tbm
Copy link

tbm commented May 12, 2020

Maybe I'm wrong but it seems that font "consolas" should always be converted to Markdown code.

For example at https://docs.google.com/document/d/1s0GOZMcrKKCLlP29MD7kHO4L88evrwWdIO0p4EwRBE0/ we have:

Null objects (NULL)

NULL is in consolas font. And in fact: Null objects (NULL) looks better to me.

Is there a reason this is not done? Maybe there's a good reason.

@xuhcc
Copy link
Collaborator

xuhcc commented May 12, 2020

There's a rule that converts paragraphs in Consolas font to the code blocks.

https://github.com/xuhcc/beancount-docs/blob/a000802f467b3a98af24b39c4113d2617fbec5b3/export.py#L68-L69

Maybe it doesn't work for single words.

@tbm
Copy link
Author

tbm commented May 12, 2020

Maybe it doesn't work for single words.

Yes, thats what I was trying to say. Sorry for not being clear.

It works for paragraphs.

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