Browse Source

update: add gitbook indentation

master
Dnomd343 2 years ago
parent
commit
a4a66ee011
  1. 2
      src/release/gitbook.py

2
src/release/gitbook.py

@ -26,7 +26,7 @@ def markdownTransfer(content: str) -> str:
] ]
for symbol in symbols: for symbol in symbols:
content = content.replace(symbol, '\\' + symbol) # add `\` before symbol content = content.replace(symbol, '\\' + symbol) # add `\` before symbol
return content return '  ' + content
def loadChapter(caption: str, content: list) -> str: def loadChapter(caption: str, content: list) -> str:

Loading…
Cancel
Save