mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 11:36:38 +02:00
Tweaked tutorial script to better display scripts.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user