• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ExecutableBookProject / MyST-NB / 140
84%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2020 02:49AM UTC
Jobs 3
Files 4
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
140

push

travis-ci

web-flow
Add glue and paste functionality (#66)

committed on behalf of @choldgraf 

This adds a prototype functionality for "glue and paste" with MyST-NB. It closes #4 

You glue things into a notebook's metadata like this:

```python
from myst_nb import glue
glue("your-key", an_object)
```

And it will run IPython's display on the object, then store the mimebundle
at the key you specify.

When the notebooks are parsed with `MyST-NB`, it builds up a registry of all
the keys across all notebooks, so that you can then refer to them in the following ways:

You can paste it in markdown with a directive like this:

````
```{paste} your-key
```
````

Or you can add it in-line like this:

```
{paste}`your-key`
```
optionally:

```
{paste}`your-key:format-string`
```

See documentation for more details

246 of 308 relevant lines covered (79.87%)

2.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 140.1 (TEST_TYPE="pytest") 14 Mar 2020 02:49AM UTC 0
79.87
Travis Job 140.1
2 140.2 (TEST_TYPE="pytest" PYPI_DEPLOY=true) 14 Mar 2020 02:49AM UTC 0
79.87
Travis Job 140.2
3 140.3 (TEST_TYPE="pytest") 14 Mar 2020 02:49AM UTC 0
79.87
Travis Job 140.3
Source Files on build 140
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #140
  • b46c2f1f on github
  • Prev Build on master (#116)
  • Next Build on master (#141)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc