From d1455ecfb0a227349bca0ed0b6a64aaea95cdf1a Mon Sep 17 00:00:00 2001 From: melissawm Date: Mon, 19 Apr 2021 22:18:47 -0300 Subject: [PATCH 1/2] Fixed showing images in the Pairing tutorial. --- content/pairing.md | 48 +++++++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) diff --git a/content/pairing.md b/content/pairing.md index 60ee21e8..925503d9 100644 --- a/content/pairing.md +++ b/content/pairing.md @@ -204,34 +204,26 @@ to include the Jupytext extension. You can pair the two formats in the classic Jupyter, Jupyter Lab, or the command line: - + +**1. Classic Jupyter Jupytext pairing** + +![Animation showing pairing with Jupyter classic](_static/01-classic.gif) + +**2. JupyterLab Jupytext pairing** + +![Animation showing pairing with JupyterLab](_static/02-jupyterlab.gif) + +**3. Command line Jupytext pairing** + +```sh +jupytext --set-formats ipynb,myst notebook.ipynb +``` + +Then, update either the MyST markdown or notebook file: + +```sh +jupytext --sync notebook.ipynb +``` > __Note:__ With Jupytext installed, the classic Jupyter interface will > automatically open MyST files as notebooks. In JupyterLab, you can From fc750e93cce85a483866623293c6a8fefe467eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melissa=20Weber=20Mendon=C3=A7a?= Date: Thu, 29 Apr 2021 13:37:24 -0300 Subject: [PATCH 2/2] Update content/pairing.md Co-authored-by: Ross Barnowski --- content/pairing.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/content/pairing.md b/content/pairing.md index 925503d9..85ed1291 100644 --- a/content/pairing.md +++ b/content/pairing.md @@ -205,15 +205,20 @@ to include the Jupytext extension. You can pair the two formats in the classic Jupyter, Jupyter Lab, or the command line: -**1. Classic Jupyter Jupytext pairing** +```{admonition} **1. Classic Jupyter Jupytext pairing** +:class: toggle ![Animation showing pairing with Jupyter classic](_static/01-classic.gif) +``` -**2. JupyterLab Jupytext pairing** +```{admonition} **2. JupyterLab Jupytext pairing** +:class: toggle ![Animation showing pairing with JupyterLab](_static/02-jupyterlab.gif) +``` -**3. Command line Jupytext pairing** +````{admonition} **3. Command line Jupytext pairing** +:class: toggle ```sh jupytext --set-formats ipynb,myst notebook.ipynb @@ -224,6 +229,7 @@ Then, update either the MyST markdown or notebook file: ```sh jupytext --sync notebook.ipynb ``` +```` > __Note:__ With Jupytext installed, the classic Jupyter interface will > automatically open MyST files as notebooks. In JupyterLab, you can pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy