Skip to content

Commit ea3d841

Browse files
authored
Merge pull request #42 from oreillymedia/bug-fix-rm-spans-pre-class
Add inline code processing to file processing run
2 parents 1b7e7d6 + 5813bb0 commit ea3d841

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jupyter_book_to_htmlbook/file_processing.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
process_citations,
1515
add_glossary_datatypes
1616
)
17-
from .code_processing import process_code, process_code_examples
17+
from .code_processing import (
18+
process_code,
19+
process_code_examples,
20+
process_inline_code
21+
)
1822
from .text_processing import (
1923
clean_chapter,
2024
move_span_ids_to_sections,
@@ -248,6 +252,7 @@ def process_chapter(toc_element,
248252
# note: best to run examples before code processing
249253
chapter = process_code_examples(chapter)
250254
chapter = process_code(chapter, skip_cell_numbering)
255+
chapter = process_inline_code(chapter)
251256
chapter = move_span_ids_to_sections(chapter)
252257
chapter = process_sidebars(chapter)
253258
chapter = process_subsections(chapter)

0 commit comments

Comments
 (0)