-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
}
in code block options
#1785
Comments
I am not sure about the usage of the options in your code. The options seem to be Monaco Editor options, but the code block is a normal code block. To define a Monaco Editor: ```txt {monaco}{editorOptions:{lineNumbers:'off'}}
git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q]
``` To define a code block without line numbers: ```txt {*}{lines:false}
git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q]
``` However, the code block transformer does have some problems when there are |
This is the way I found to disable it 🤷 Thanks for your comment, it helped me find another solution Should we close this issue ? |
Let's keep the issue open to keep track of the problem of |
{
in code block options
Hi,
Describe the bug
slidev build
fails after upgrade withInvalid end tag
Minimal reproduction
Steps to reproduce the behavior:
I did a minimal reproductible test repository https://gitlab.com/pinage404/slidev_broken_upgrade
With this content in a
slides.md
With [email protected],
slidev build
worksWith [email protected],
slidev build
failsstdout
stderr
With [email protected] (current latest),
slidev build
still failsstdout
stderr
Additional context
I'm trying to upgrade this slide (the corresponding code)
Environment
If you are using Slidev globally (i.e.I prefer to have a reproductible setup, i avoid globally installed tools that are specific to a projectnpx slidev
ornpm i -g slidev
), please try to reproduce the issue in a local project (i.e.npm create slidev@latest
).Thank you for maintaining slidev, it's an amazing project, that evolves really quickly, it's really enjoyable !
The text was updated successfully, but these errors were encountered: