Export tags in markdown format as comments (#419)
This commit is contained in:
parent
5fac8d63cc
commit
38cd129177
10
buku
10
buku
@ -2802,9 +2802,15 @@ def convert_bookmark_set(
|
||||
if export_type == 'markdown':
|
||||
for row in resultset:
|
||||
if not row[2]:
|
||||
out += '- [Untitled](' + row[1] + ')\n'
|
||||
out += '- [Untitled](' + row[1] + ')'
|
||||
else:
|
||||
out += '- [' + row[2] + '](' + row[1] + ')\n'
|
||||
out += '- [' + row[2] + '](' + row[1] + ')'
|
||||
|
||||
if row[3] != DELIM:
|
||||
out += ' <!-- TAGS: {} -->\n'.format(row[3][1:-1])
|
||||
else:
|
||||
out += '\n'
|
||||
|
||||
count += 1
|
||||
elif export_type == 'org':
|
||||
for row in resultset:
|
||||
|
Loading…
Reference in New Issue
Block a user