Update pattern master header function
This commit is contained in:
@@ -6,10 +6,10 @@ include ../_config
|
||||
block config
|
||||
|
||||
mixin h(h, p = null)
|
||||
if p !== null
|
||||
- text = headings[h].replace(/\*\*/g, p)
|
||||
else
|
||||
- text = headings[h]
|
||||
if p !== null
|
||||
- text = text.replace(/\*\*/g, p)
|
||||
|
||||
|
||||
if text
|
||||
if text.indexOf("|") == -1
|
||||
|
||||
Reference in New Issue
Block a user