Python script to clean up new vocabulary saved from online reading using Saladdict and export to a markdown file.
- Put the
notebook.json
file exported from Saladict and thenotebook2md.py
file under the same directory. cd
to the directory where files are saved- Run the script
notebook2md.py
- A markdown file with file name as
YYYY-MM-DD.md
, which is the date the file is generated - A
JSON
file with namenotebook_cleaned.json
, which contains four variables from the originalnotebook.json
file:date
,text
,trans
,context
where thetrans
variable has been simplified by removing the translation forcontext
.