apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
14.12k stars 3.57k forks source link

copy webpage doc code includes "$" #6981

Closed xgdgsc closed 4 years ago

xgdgsc commented 4 years ago

Is your feature request related to a problem? Please describe. http://pulsar.apache.org/docs/en/security-tls-transport/ click on "copy" includes "$" so I cannot paste and run at once.

Describe the solution you'd like copy should include only code.

jiazhai commented 4 years ago

@xgdgsc Thanks for the reporting. Would you like to contribute a PR to fix this?

xgdgsc commented 4 years ago

I' d like to. I saw

<code class="language-shell" data-lang="shell" id="code11"><span class="nv no-select">$ </span>crowdin generate</code>

on crowdin' s webpage source. Is there any magic markdown syntax to add $, or we just remove all of $?

jiazhai commented 4 years ago

@xgdgsc The md docs is at here: https://github.com/apache/pulsar/tree/master/site2/docs https://github.com/apache/pulsar/tree/master/site2/website/versioned_docs

xgdgsc commented 4 years ago

https://github.com/facebook/docusaurus/issues/1745 Then I would remove all the $?