@@ -5,7 +5,7 @@ const LITERATE_JULIA_FENCE = "$LITERATE_JULIA_REPLACE$LITERATE_FENCER"
55const LITERATE_JULIA_FENCE_L = length (LITERATE_JULIA_FENCE)
66const LITERATE_JULIA_FENCE_R = Regex (LITERATE_JULIA_FENCE)
77
8- const LITERATE_FLAV = ifelse (FD_ENV[:LITERATE_VERSION ] < v " 2.9.0" ,
8+ const LITERATE_FLAVOR = ifelse (FD_ENV[:LITERATE_VERSION ] < v " 2.9.0" ,
99 Literate. CommonMarkFlavor (),
1010 Literate. FranklinFlavor ())
1111
@@ -47,7 +47,7 @@ function literate_to_franklin(rpath::AS)::Tuple{String,Bool}
4747 # >> output the markdown
4848 Literate. markdown (
4949 fpath, outpath;
50- flavor= Literate . CommonMarkFlavor () ,
50+ flavor= LITERATE_FLAVOR ,
5151 mdstrings= locvar (:literate_mds ):: Bool ,
5252 config= Dict (" codefence" => (LITERATE_JULIA_FENCE => LITERATE_JULIA_REPLACE)),
5353 preprocess= s-> replace (s, r" #hide\s *?\n " => " # hide\n " ),
@@ -57,7 +57,7 @@ function literate_to_franklin(rpath::AS)::Tuple{String,Bool}
5757 # >> output the script
5858 Literate. script (
5959 fpath, outpath;
60- flavor= Literate . CommonMarkFlavor () ,
60+ flavor= LITERATE_FLAVOR ,
6161 mdstrings= locvar (:literate_mds ):: Bool ,
6262 postprocess= s-> (MESSAGE_FILE_GEN_LIT * s),
6363 name= fname * " _script" ,
0 commit comments