Skip to content

Commit

Permalink
📖 Update documentation, point to v1
Browse files Browse the repository at this point in the history
- add Changelog

See also: #57
  • Loading branch information
rowanc1 committed Feb 10, 2023
1 parent 8056df7 commit 2c067a1
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 10 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,41 @@
<!-- <START NEW CHANGELOG ENTRY> -->

<!-- <END NEW CHANGELOG ENTRY> -->

## v1.0.0

Merge and release the next version of jupyterlab-myst as a major version bump! 🚀
See [](https://github.com/executablebooks/jupyterlab-myst/issues/57) for discussion.

---

# `jupyterlab-mystjs`

Merge the repositories of `jupyterlab-mystjs` and `jupyterlab-myst` together.

### v0.1.4

Support legacy mode to open with the myst renderer or the original notebook with a right click.

### v0.1.3

Support local images and links, for example, opening a link to another notebook.

### v0.1.2

Use `@myst-theme` components from NPM.

---

## `jupyterlab-mystjs`

This project was merged with the original version, based on `jupyterlab-markup`,
the release history can be found on the [`v0 branch`](https://github.com/executablebooks/jupyterlab-myst/tree/v0).

### v0.1.7 - pre-release

Support for sphinx math, eval inline directives for inline execution.

### v0.1.6

Last stable release of `jupyterlab-myst` based on `markdown-it` and `jupyterlab-markup`.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# jupyterlab_mystjs
# Jupyter Lab MyST Extension

[![Github Actions Status](https://github.com/executablebooks/jupyterlab-mystjs/workflows/Build/badge.svg)](https://github.com/executablebooks/jupyterlab-mystjs/actions/workflows/build.yml)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/executablebooks/jupyterlab-mystjs/main?urlpath=lab)
[![Made with MyST](https://img.shields.io/badge/made%20with-myst-orange)](https://myst-tools.org)
[![Github Actions Status](https://github.com/executablebooks/jupyterlab-myst/workflows/Build/badge.svg)](https://github.com/executablebooks/jupyterlab-myst/actions/workflows/build.yml)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/executablebooks/jupyterlab-myst/main?urlpath=lab)

Render markdown cells using [MyST Markdown](https://myst-tools.org/)
Render markdown cells using [MyST Markdown](https://myst-tools.org/), including support for rich frontmatter, interactive references, admonitions, figure numbering, tabs, cards, and grids!

![](./images/walkthrough.gif)

> **Note**: If you are looking for the version of this repository based on jupyterlab-markup,
> see the [`v0 branch`](https://github.com/executablebooks/jupyterlab-myst/tree/v0).
## Requirements

- JupyterLab >= 3.0
Expand All @@ -15,23 +19,23 @@ Render markdown cells using [MyST Markdown](https://myst-tools.org/)
To install the extension, execute:

```bash
pip install jupyterlab_mystjs
pip install jupyterlab_myst
```

## Usage

By default, the MyST renderer becomes the default notebook renderer. This means that MyST notebook rendering works out-of-the-box with Jupytext and other notebook-aware extensions. Whilst this extension is in a pre-release state, there is also a "legacy mode" that integrates MyST rendering as an additional `Open With` option that does not replace the default notebook renderer. To enable legacy mode, disable the `jupyterlab-mystjs:plugin` plugin with
By default, the MyST renderer becomes the default notebook renderer. This means that MyST notebook rendering works out-of-the-box with Jupytext and other notebook-aware extensions. Whilst this extension is in a pre-release state, there is also a "legacy mode" that integrates MyST rendering as an additional `Open With` option that does not replace the default notebook renderer. To enable legacy mode, disable the `jupyterlab-myst:plugin` plugin with:

```bash
jupyter labextension disable jupyterlab-mystjs:plugin
jupyter labextension disable jupyterlab-myst:plugin
```

## Uninstall

To remove the extension, execute:

```bash
pip uninstall jupyterlab_mystjs
pip uninstall jupyterlab_myst
```

## Contributing
Expand All @@ -48,7 +52,7 @@ The `jlpm` command is JupyterLab's pinned version of
# Make sure jupyterlab is up to date
conda update jupyterlab
# Clone the repo to your local environment
# Change directory to the cloned jupyterlab-mystjs directory
# Change directory to the cloned jupyterlab-myst directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
Expand Down Expand Up @@ -77,12 +81,12 @@ jupyter lab build --minimize=False
### Development uninstall

```bash
pip uninstall jupyterlab_mystjs
pip uninstall jupyterlab_myst
```

In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
folder is located. Then you can remove the symlink named `jupyterlab-mystjs` within that folder.
folder is located. Then you can remove the symlink named `jupyterlab-myst` within that folder.

### Testing the extension

Expand Down

0 comments on commit 2c067a1

Please sign in to comment.