jupyterlab / extension-examples

JupyterLab Extensions by Examples
BSD 3-Clause "New" or "Revised" License
458 stars 169 forks source link

Snippets from code #20

Closed fcollonval closed 4 years ago

fcollonval commented 4 years ago

One of the hard part with examples is to maintain the snippets in README in sync with the testable code. Would it be interesting to use one of the following solutions (or another one - I looked quickly on the web for that problem)?

https://github.com/NativeScript/markdown-snippet-injector https://github.com/zakhenry/embedme

jtpio commented 4 years ago

That sounds like a great idea :+1:

The second one looks good and even support partial snippets (line range).