-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃悰 Fix embed mdast structure for executable content (#1221)
- Loading branch information
Showing
8 changed files
with
552 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'myst-cli': patch | ||
'mystmd': patch | ||
--- | ||
|
||
Fix embed mdast structure for executable content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Table of Contents | ||
# | ||
# Myst will respect: | ||
# 1. New pages | ||
# - file: relative/path/to/page | ||
# 2. New sections without an associated page | ||
# - title: Folder Title | ||
# sections: ... | ||
# 3. New sections with an associated page | ||
# - file: relative/path/to/page | ||
# sections: ... | ||
# | ||
# Note: Titles defined on pages here are not recognized. | ||
# | ||
# This spec is based on the JupyterBook table of contents. | ||
# Learn more at https://jupyterbook.org/customize/toc.html | ||
|
||
format: jb-book | ||
root: index | ||
chapters: | ||
- file: plot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Plots In Markdown | ||
|
||
## Figure directive - local | ||
|
||
```{figure} #my-plot | ||
My Caption | ||
``` | ||
|
||
## Embed directive - local | ||
|
||
```{embed} #my-plot | ||
``` | ||
|
||
## Figure directive - external | ||
|
||
```{figure} xref:guide#img:altair-horsepower | ||
My Caption | ||
``` | ||
|
||
## Embed directive - external | ||
|
||
```{embed} xref:guide#img:altair-horsepower | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# See docs at: https://mystmd.org/guide/frontmatter | ||
version: 1 | ||
project: | ||
id: 715b4b54-6366-422c-af6a-a96359815eaf | ||
# title: | ||
# description: | ||
keywords: [] | ||
authors: [] | ||
github: https://github.com/executablebooks/mystjs | ||
# bibliography: [] | ||
thebe: true | ||
references: | ||
guide: https://mystmd.org/guide | ||
site: | ||
template: book-theme | ||
# title: | ||
# options: | ||
# favicon: favicon.ico | ||
# logo: site_logo.png | ||
nav: [] | ||
actions: | ||
- title: Learn More | ||
url: https://mystmd.org/guide | ||
domains: [] |
Oops, something went wrong.