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

Org-mode File not rendering #90

Open
zamlz opened this issue Apr 1, 2021 · 2 comments
Open

Org-mode File not rendering #90

zamlz opened this issue Apr 1, 2021 · 2 comments

Comments

@zamlz
Copy link

zamlz commented Apr 1, 2021

Hi, there seems to be an issue with some org files not rendering correctly. GitHub support directed me to open the issue here.
It seems that the following file is not rendering correctly.

https://github.com/zamlz/dotfiles/blob/9cf41dd08f60231f2589cf39e87fb3f08bd26089/neovim.org

The rest of the org files in that repo do in fact render correctly. I speculate that the presence of VimScript is fooling the rendering engine in some way.

@melioratus
Copy link

melioratus commented Jan 24, 2024

This is a weird issue!

No problem rendering on GitLab.com

The problem seems to happen on GitHub only when you have these exact strings in an org file

" vim:ft=v

or

" vim:ft=vim

This can be confirmed using the preview button when adding a new org file to a repo in GitHub

@zamlz
Copy link
Author

zamlz commented Jan 27, 2024

Oh that's interesting! That's the vim mode line which is used to override vim settings when it loads the file. Super weird...

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