Can someone review a code for extracting highlighted text as markdown? #1680
Unanswered
dummifiedme
asked this question in
Looking for help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am fairly new at programming and had written (or scalped) code for extracting annotated texts from PDFs. I made a system using which I could generate a decent markdown output. This markdown note works as a quick source for making finalised notes into Obsidian (www.obsidian.md).
eg. I added
##
for headers in the Annotation "Info", similarly '+' for an additional indent, '++' for appending the annotated text with the previous text etc.And obviously the code went too lengthy and complex.
If someone could help me optimize it and cater for few more cases (depending on the page formats, type of material etc) , it would be really helpful.
Eg. from this

I get this in my source-note (markdown)
Beta Was this translation helpful? Give feedback.
All reactions