Skip to content

Cannot parse a Markdown file that has import.meta.env #13387

Closed Answered by NicChoi
NicChoi asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it is valid to add a tag <wbr> to break the string import.meta.env --> import.meta<wbr>.env.
But when I want to mark the it as a code block (`import.meta<wbr>.env`), the lib vite-plugin-vue-markdown will not parse the tag <wbr>.
And my solution is change the code char "``" to the HTML tag <code></code> (<code>import.meta<wbr>.env<code>)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NicChoi
Comment options

Answer selected by NicChoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants