From 1a2c66da77625fb6721116d1ffd910b9435913df Mon Sep 17 00:00:00 2001 From: tlienart Date: Tue, 11 Jul 2023 21:09:00 +0200 Subject: [PATCH] bring back initial default sigature for parse_fenced_block, closes #1037 --- Project.toml | 2 +- src/eval/codeblock.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index f21a21962..42be4e9bb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Franklin" uuid = "713c75ef-9fc9-4b05-94a9-213340da978e" authors = ["Thibaut Lienart "] -version = "0.10.87" +version = "0.10.88" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/eval/codeblock.jl b/src/eval/codeblock.jl index cca39eb08..30c6373a6 100644 --- a/src/eval/codeblock.jl +++ b/src/eval/codeblock.jl @@ -9,7 +9,7 @@ $SIGNATURES Take a fenced code block and return a tuple with the language, the relative path (if any) and the code. """ -function parse_fenced_block(ss::SubString; shortcut=false, +function parse_fenced_block(ss::SubString, scut=false; shortcut=scut, # scut for legacy #1037 repl=false, shell=false, pkg=false, help=false)::Tuple if any((shortcut, repl, shell, pkg, help))