Skip to content

Commit b71a255

Browse files
committed
stack overflow bookmark
1 parent a1aaa0e commit b71a255

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ To add to a StackOverflow question or answer, copy-paste the markdown below into
6161
<img src="./sample_imgs/stack-overflow.png"/>
6262
</a>
6363

64+
### Regular User?
65+
Add a bookmark to your browser with the following text as the url.
66+
```
67+
javascript:navigator.clipboard.writeText('<!-- begin snippet: js hide: false console: false babel: false --> \n<!-- language: lang-html --> \n<script src="https://modularizer.github.io/pyprez/pyprez.js" mode="editor">\n # your code here\n</script>\n<!-- end snippet -->')
68+
```
69+
70+
Clicking on the bookmark will copy the code you need to your clipboard, then you can paste it into the StackOverflow question/answer.
71+
6472
## About
6573
**pyprez** is a minimal _javascript_ package which allows you to **present** runnable python samples in the browser.
6674

0 commit comments

Comments
 (0)