-
Notifications
You must be signed in to change notification settings - Fork 2
Review current emd language configuration and determine why it overwrites built-in .md Open Preview command in vscode #9
Comments
Alternative would be to identify .md documents as Evidence using some other method. Eg
Regarding rendering on Github and other platforms, there is an interesting thread about R markdown here, which might be instructive: https://yihui.org/en/2018/10/rmd-github/ |
@archiewood, we can certainly identify when we load The problem with the current I outlined the solution we'll pursue to resolve this issue in this slack thread. Brief notes:
Then and only then we can make everything work without breaking default markdown Preview in vscode. Example of hooking up custom
|
|
@mcrascal even the template Evidence project has |
The official vscode markdown Preview documentation for more info: https://code.visualstudio.com/Docs/languages/markdown#_markdown-preview |
Closing this ticket. The missing markdown Outline will be added in #33. |
Evidence extension maps keybindings for the built-in markdown document Preview commands in
package.json
. This hides access to the.md
Preview for the standard markdown documents.https://github.com/evidence-dev/vscode/blob/main/package.json#L109
Current
emd
language configuration also marks all.md
files as Evidence markdown documents.We need to resolve this issue to avoid negative reviews in vscode marketplace. Evidence markdown should not hijack normal
.md
handling in vscode.Recommended solution used by all custom markdown language flavors in vscode is to use a custom filename extension (
.emd
) for the Evidence app page files.See related thread in vscode channel in Evidence dev slack.
The text was updated successfully, but these errors were encountered: