I am trying to write a maestro script which will do the following from text documents in markdown.
- extract the long title
- extract short title
- for each point separate into a new file with formatting
The text files that I have are formatted as below:
20190119122238 - §Reznic, NEJM, 2012
Tags: #inbox #cardiacdevices #surveillance
Source: Resnic, postmarketing surveillance of medical devices–filling the gaps, 2012, NEJM: 366: 875.
Study design: Editorial
Medical devices are complex items and failure of any one of the components can result in serious adverse consequences.
There is never going to be a completely safe medical device.
[[Reznic, NEJM, 2012]]
I am to automatically export these to the following format:
Below is my attempt however I am having trouble debugging.
Is anyone able to help?