We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current behavior
mdclean helper disable feature of markdown for using <> symbols in code blocks
mdclean
<>
vue-styleguidist/packages/vue-docgen-cli/src/templates/utils.ts
Lines 10 to 19 in 7ef3937
// Input Some info about `<input>`
Output: <input> Expected: <input>
<input>
<input>
Expected behavior
Escape <> only outside quotes
The text was updated successfully, but these errors were encountered:
hello @Kolobok12309 ,
Thank you for your request. What you describe would be ideal indeed.
Do you have any idea how to do that?
Here is a rough idea, but I wonder if it will work:
Beyond making the code more complicated, do you think we will lose some performance?
Sorry, something went wrong.
Mb something like this, but need testing and some cases mb not worked
string .split('`') .map((str, index) => index % 2 ? str : str .replace(/</g, '<') .replace(/>/g, '>') ) .join('`')
Yea, it's not so good. Mb need do it through some func args.
Why <> escaped?
The html markers are escaped because if used in a md table they will break the table (except, it seems, between quote marks)
No branches or pull requests
Current behavior
mdclean
helper disable feature of markdown for using<>
symbols in code blocksvue-styleguidist/packages/vue-docgen-cli/src/templates/utils.ts
Lines 10 to 19 in 7ef3937
Output:
<input>
Expected:
<input>
Expected behavior
Escape
<>
only outside quotesThe text was updated successfully, but these errors were encountered: