summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xftt-docgen4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftt-docgen b/ftt-docgen
index cb774e8..c3218c9 100755
--- a/ftt-docgen
+++ b/ftt-docgen
@@ -14,7 +14,7 @@ import yaml
def format_keyword(line):
words = line.split(' ')
keyword = words[0]
- return '**{}** '.format(keyword) + line[len(keyword):]
+ return '*{}* '.format(keyword) + line[len(keyword):]
def indent(line):
prefix = ' ' * 4
@@ -28,7 +28,7 @@ def format_match(keyword, line, m):
for i in range(1, n+1):
parts.append(line[end:m.start(i)])
thispart = line[m.start(i) : m.end(i)]
- parts.append('_{}_'.format(thispart))
+ parts.append('**{}**'.format(thispart))
end = m.end(i)
line = ''.join(parts) + line[m.end(n):]
line = '{} {}'.format(keyword, line)