From 07d47f4ffc6c605e93080022af7565195a195e1c Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Tue, 24 Mar 2020 00:18:33 -0700 Subject: [PATCH] Tweaked tutorial script to better display scripts. --- scripts/tutorial_gen.py | 5 ++++- version.scad | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/tutorial_gen.py b/scripts/tutorial_gen.py index a9f2785..b2d3306 100755 --- a/scripts/tutorial_gen.py +++ b/scripts/tutorial_gen.py @@ -258,7 +258,10 @@ def processFile(infile, outfile=None, imgroot=""): imgnum = 0 for line in f.readlines(): line = line.rstrip("\n") - outdata.append(line) + if line.startswith("```openscad"): + outdata.append("```openscad") + else: + outdata.append(line) if in_script: if line == "```": in_script = False diff --git a/version.scad b/version.scad index 86c63a9..ecb14fe 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,219]; +BOSL_VERSION = [2,0,220]; // Section: BOSL Library Version Functions