Skip to content

Commit

Permalink
Adjust markdown attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
erykjj committed Nov 8, 2024
1 parent 62fece7 commit 1525128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JWLManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ def get_notes():
txt += f"modified: {item['MODIFIED'][:19].replace('T', ' ')}\n"
if pub:
txt += f'language: "[[{lng}]]"\n'
txt += f'publication: "[[{pub} {iss}'.strip() + ']]"\n'
txt += f'publication: "[[' + item['PUB'] + f' {iss}'.strip() + ']]"\n'
if item.get('DOC'):
txt += f'document: "[[' + str(item['DOC']) + ']]"\n'
elif item.get('Reference'):
Expand All @@ -1249,7 +1249,7 @@ def get_notes():
if item.get('TAGS'):
txt += 'tags:\n'
for t in item['TAGS'].split(' | '):
txt += f' - "[[{t}]]"\n'
txt += f' - {t}\n'
txt += f"guid: {item['GUID']}"
txt += f"\n---\n# {item['TITLE']}\n\n{item['NOTE'].strip()}\n"
save_file(fname)
Expand Down

0 comments on commit 1525128

Please sign in to comment.