Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Restore default README.md and standard .md markdown documents handling in VS Code IDE #126

Open
RandomFractals opened this issue Jun 28, 2023 · 1 comment
Labels
bug Something isn't working review Requires additional testing and review

Comments

@RandomFractals
Copy link
Contributor

RandomFractals commented Jun 28, 2023

Steps To Reproduce

  • Open any github repository code in VS Code IDE with Evidence extension enabled

Actual Behaviour

Evidence extension performs the following non-standard actions on standard .md markdown documents:

  • Overwrites standard .md markdown documents handling
  • Marks open README.md documents as Evidence Markdown document as noted in the VS Code status bar below
  • Hides markdown document Outline
  • Displays some cryptic Press / for commands... code lens as depicted below:

evidence-markdown-and-slash-commands

Expected Behavior

Consider using different filename extension for your markdown documents, such as .emd as other similar extensions (Quarto, Observable JS, MDX, etc.) do to preserve standard markdown handling in VS Code IDE without introducing new shortcuts and "slash" commands not related to normal markdown documents.

Workarounds

The only way to restore standard markdown documents handling in VS Code with the Evidence extension enabled is to change document type in the status bar where Evidence Markdown is displayed. This action is required for every .md file open, unrelated to the Evidence projects or apps and is very confusing and frustrating, including new "slash" commands and missing markdown document Outline.

@RandomFractals RandomFractals added bug Something isn't working review Requires additional testing and review labels Jun 28, 2023
@hughess
Copy link
Member

hughess commented Jun 30, 2023

Thanks for noting this. In advance of having a full solution to this, I've added a stopgap PR to avoid having these features show up outside of the Evidence pages directory: #128

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working review Requires additional testing and review
Projects
None yet
Development

No branches or pull requests

2 participants