-
Notifications
You must be signed in to change notification settings - Fork 29
adds option for mermaidjs version #63
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
base: master
Are you sure you want to change the base?
Conversation
Thank you for the PR. But this PR introduces removing the copy button, right? It's not good. We want to fix the problem without doing it. cc: @ShortArrow |
@yusukebe I completely agree :). I just wasn't sure if you were up for any changes. I can work on a "real" fix. |
repo="yusukebe/gh-markdown-preview" | ||
tag="v1.10.0" | ||
repo="nilcoast/gh-markdown-preview" | ||
tag="master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be set back as well
@@ -143,25 +143,6 @@ | |||
mermaid.run({ | |||
querySelector: 'div.highlight-source-mermaid > pre', | |||
}); | |||
const copyIcon= `<svg class="copy-icon" aria-hidden="true" fill="none" height="18" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" width="18" style="color:"currentColor";"><path d="M8 17.929H6c-1.105 0-2-.912-2-2.036V5.036C4 3.91 4.895 3 6 3h8c1.105 0 2 .911 2 2.036v1.866m-6 .17h8c1.105 0 2 .91 2 2.035v10.857C20 21.09 19.105 22 18 22h-8c-1.105 0-2-.911-2-2.036V9.107c0-1.124.895-2.036 2-2.036z"></path></svg>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: make this work with the copy/pasta buttons
No description provided.