mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +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
|
||||
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
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,219];
|
||||
BOSL_VERSION = [2,0,220];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue