holgerbrandl / opencards

A free flashcard learning application for PowerPoint and MarkDown files
http://opencards.info
BSD 2-Clause "Simplified" License
94 stars 27 forks source link

Add MarkdownParser interface to enable support for multiple markdown … #27

Closed vasileboris closed 7 years ago

vasileboris commented 7 years ago

I would like to have support for multiple markdown parsers. I created a small change in personal fork of this project to have a start for a conversation on this subject. It would be nice to be able to put a jar with a different markdown parser implementation in a common place and then on opencards start to be able to select it.

holgerbrandl commented 7 years ago

Hey Vasile, thanks for the first PR for opencards.

I'm not yet sure if a pluggable jar with alternative parsers, is what most users actually need. I'd could imagine rather extending the current parser with more options. What do you think is missing in the current implementation? What parser options would you need in addition to the existing ones?

Also the PR seems so leave all deployments task open. Like the current parser would need to be assembled into an own jar.

vasileboris commented 7 years ago

Hello Holger,

I would like to have something like scjp questions (http://www.javatpoint.com/directload.jsp?val=51) where the question body is big as the response. I tried with current version but the questions are retrieved from headers only.

holgerbrandl commented 7 years ago

converted into a ticket #28