Open shonfeder opened 3 years ago
No, I'd say moving quickly was the right decision at the time to depend on pandoc :grin: The PoC did what we expected and needed it to do at the time, and now it seems like it's time to move on to an implementation that better suits our current situation.
What're your thoughts, @shonfeder, on how to go about doing this?
Perhaps you're right now (as you were then ;).
Here's my current thinking:
comrak
pulldown-commonmark
comrak
's 442)IMO, (2) is a pretty clear winner here. In addition to providing the most robust answer to our needs, it would be a non-trivial contribution too the rust ecosystem (judging from comments on the issue).
<dl>
, <dt>
and <dd>
tags to the markdown
representationHtmlWriter
(This is not actually needed for our immediate needs, but it would be needed
to the complete the contribution).I estimate a time cost of 2 to 5 days (leaving ample room for unexpected complications).
It is important to note the following: for the sake of unblocking development here, it suffices to implement support for definition lists in a fork we can pin. So even if there is a delay in getting the feature merged, we can begin taking advantage of the feature as soon as the minim functionality is in place. This derisks any concern about responsiveness from the maintainers (tho they have already proven to be quite responsive).
I just thought of an easy stop-gap solution, which doesn't drop the pandoc dep,
but will enable dropping pandoc_ast
and allow me to fix the immediate problem
without the risk of blowing the deadline for my deliverables this quarter:
I'll plan on addressing (2) in Q2, if possible. But go with this option for an immediate fix.
As reported on #65, this has renewed urgency, since the
pandoc_ast
library is no longer compatible with current versions of pandoc, and isn't apparently actively maintained with the current state of pandoc.I should note: @thanethomson advocated for putting in the time to avoid this brittle dependency chain from the start, but I (incorrectly) argued for postponing the cleaner implementation for the sake of moving quickly. In retrospect, I think that would have been the right call at the time. Fortunately it's not too late to rectify :)