Skip to content

Commit 689ac9c

Browse files
committed
added support for Pandoc option --embed-resources
1 parent df45bd3 commit 689ac9c

18 files changed

Lines changed: 19 additions & 16 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
# v0.11.0 (dev)
55

6+
* Added support for Pandoc option `--embed-resources`.
7+
68
* Python 3.11 compatibility: set `PYDEVD_DISABLE_FILE_VALIDATION=1` at
79
beginning of command-line application to prevent debugger frozen modules
810
warning.

codebraid/cmdline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ def pandoc(args):
285285
'--resource-path': 1,
286286
'--request-header': 1,
287287
'--abbreviations': 1,
288+
'--embed-resources': 0,
288289
'--self-contained': 0,
289290
'--html-q-tags': 0,
290291
'--ascii': 0,

codebraid/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22

33
from .fmtversion import get_version_plus_info
4-
__version__, __version_info__ = get_version_plus_info(0, 11, 0, 'dev', 2)
4+
__version__, __version_info__ = get_version_plus_info(0, 11, 0, 'dev', 3)

examples/build_R.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o R.html R.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o R.html R.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o R_output.md R.cbmd

examples/build_R.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o R.html R.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o R.html R.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o R_output.md R.cbmd

examples/build_bash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o bash.html bash.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o bash.html bash.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o bash_output.md bash.cbmd

examples/build_gap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o gap.html gap.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o gap.html gap.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o gap_output.md gap.cbmd

examples/build_javascript.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o javascript.html javascript.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o javascript.html javascript.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o javascript_output.md javascript.cbmd

examples/build_javascript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o javascript.html javascript.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o javascript.html javascript.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o javascript_output.md javascript.cbmd

examples/build_julia.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
codebraid pandoc -f markdown -t html --overwrite --standalone --self-contained --css example.css -o julia.html julia.cbmd
1+
codebraid pandoc -f markdown -t html --overwrite --standalone --embed-resources --css example.css -o julia.html julia.cbmd
22
codebraid pandoc -f markdown -t markdown --overwrite --standalone -o julia_output.md julia.cbmd

0 commit comments

Comments
 (0)