I just thought that it would be great, if the Markdown preview would use the Github stylesheet.
This might be useful in general, by defining a custom command and/or passing some context somehow.
E.g. for the Github case, it could detect if there's a git remote that matches github.com and then apply the "use the github stylesheet" with the preview commands (most probably PreviewMarkdown then).
I have not looked at the internals, and maybe this is possible already?
There is g:PreviewCSSPath, which you could use in a custom command, wrapping the call to Preview. I might give this a try, when coming across vim-preview again.. :)
I just thought that it would be great, if the Markdown preview would use the Github stylesheet.
This might be useful in general, by defining a custom command and/or passing some context somehow.
E.g. for the Github case, it could detect if there's a git remote that matches github.com and then apply the "use the github stylesheet" with the preview commands (most probably PreviewMarkdown then).
I have not looked at the internals, and maybe this is possible already?
There is
g:PreviewCSSPath
, which you could use in a custom command, wrapping the call toPreview
. I might give this a try, when coming across vim-preview again.. :)