We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f910b78 commit e4a9186Copy full SHA for e4a9186
assets/scripts/notebooks/notebooks.jl
@@ -116,7 +116,7 @@ function parse_cells(qmd_path::String)::Notebook
116
lang = match.captures[1]
117
code = strip(match.captures[2])
118
if lang == "julia"
119
- if "#| eval: false" in code
+ if occursin(r"#|\s*eval:\s*false", code)
120
# This is a code cell that is not meant to be executed.
121
push!(cells, MarkdownCell("```julia\n$code\n```"))
122
continue
0 commit comments