zhaouv / vscode-markdown-everywhere

Embed and highlight and preview markdown in any language which support line-comment or block-comment for vscode.
https://marketplace.visualstudio.com/items?itemName=zhaouv.vscode-markdown-everywhere
Apache License 2.0
9 stars 3 forks source link

Disable code encapsulation in `<details>`. #18

Closed RokeJulianLockhart closed 1 week ago

RokeJulianLockhart commented 1 week ago

It looks dreadful:

Screenshot_20240629_140352

but would be perfect if the <pre> was merely not encapsulated inside a <details> section. Consequently, how can I disable this?

zhaouv commented 1 week ago

settings.json - preview-mode - 'fenced'
the showing-picture is 'folded' mode

RokeJulianLockhart commented 1 week ago

https://github.com/zhaouv/vscode-markdown-everywhere/issues/18#issuecomment-2198212631

@zhaouv,

"markdown-everywhere.preview-mode": "fenced"

renders, as an example

#!/usr/bin/env sh

echo 'test'

# test time?!

mostly as I want, but not perfectly:

image

is that extra space below expected?