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