mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-03-09 02:39:47 +00:00
Tweaked tutorial script to better display scripts.
This commit is contained in:
parent
a3c917bfe9
commit
07d47f4ffc
2 changed files with 5 additions and 2 deletions
|
@ -258,7 +258,10 @@ def processFile(infile, outfile=None, imgroot=""):
|
||||||
imgnum = 0
|
imgnum = 0
|
||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
line = line.rstrip("\n")
|
line = line.rstrip("\n")
|
||||||
outdata.append(line)
|
if line.startswith("```openscad"):
|
||||||
|
outdata.append("```openscad")
|
||||||
|
else:
|
||||||
|
outdata.append(line)
|
||||||
if in_script:
|
if in_script:
|
||||||
if line == "```":
|
if line == "```":
|
||||||
in_script = False
|
in_script = False
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,219];
|
BOSL_VERSION = [2,0,220];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue