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

conceal the lang attribute #353

Open
korakinos opened this issue Feb 24, 2021 · 1 comment
Open

conceal the lang attribute #353

korakinos opened this issue Feb 24, 2021 · 1 comment

Comments

@korakinos
Copy link

It would be great if vim-pandoc-syntax concealed the language attribute "lang" (which is about natural, not programming languages).

https://pandoc.org/MANUAL.html#language-variables

Motivation: In a document with many quotes in natural languages other than the main language of the document, I use a lot of constructs like "[This is a quote in English]{lang=en}", in order for latex to produce proper hyphenation for each language in PDF generation. In reading what I have written, the language attributes are a distraction, so I would love for them to be concealed.

(This could lead down a rabbit hole of concealing all sorts of attributes. I suppose that is not a problem.)

@alerque
Copy link
Member

alerque commented Feb 24, 2021

This is actually one I would get some millage out of too. There are quite a few variations on the syntax however, and in my case it is sometimes combined with other attributes. It would be a rabbit hole and certainly something that needed to be behind a separate (default off) feature flag, but possibly one worth perusing.

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

No branches or pull requests

2 participants