-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
DocGen Copy button for code snippets #18944
Comments
Hi @vj-abishek You may start from here: Line 617 in 6b0db5b
Nim/lib/packages/docutils/rstgen.nim Line 1034 in 6b0db5b
https://github.com/nim-lang/Nim/blob/devel/tools/dochack/dochack.nim After fixing the file, you can use |
What's your command? Does |
I ran
No
The dir structure is /home/abishek/opensource/Nim Any documentation available on how to run locally. That docs page |
Well, I mean |
Would be great to add a "Copy" button to the code blocks rendered by the Docgen,
just like GitHub itself has nowadays on the code blocks, the Docgen needs to add 1 line:
I copied from timotheecour#802
@juancarlospaco
The text was updated successfully, but these errors were encountered: