On Fri, Aug 09, 2024 at 07:55:22PM +0200, Bastian Germann wrote:
> Am 09.08.24 um 19:42 schrieb Daniel Gröber:
> > On Fri, Aug 09, 2024 at 05:47:50PM +0200, Bastian Germann wrote:
> > > Please see #1072958 for the RM request on markdown.
> > > It should be replaced with a maintained alternative such as discount.
> > > You can check the blocking bugs for that RM bug to find the packages that 
> > > need some change.
> > 
> > I'm considering adopting markdown and/or sponsoring this upload.
> > 
> > > I would strongly advise against adopting the package because that will
> > > alleviate the reverse dependencies' urge to update.
> > 
> > Problem is discount breaks some of my hacky markdown :)
> 
> Do you have an example? I would like to suggest another parser to you.

Well markdown.pl will preserve <style></style> blocks, albeit inside <p>,
but discount just stripps that out. Yes I know this it's ugly to do that,
but it works :P

Discount also replaces `- [ ] Something` with `<li 
class="github_checkbox">&#x2610;`.
I don't want that for stilistic reasons and I couldn't find an option to
turn that off with a quick skim of the manpage.

> > I considered suggesting letting the RM go through and just re-uploading but
> > doing it that way seems a waste of ftp-master time. Do you have any other
> > suggestions?
> 
> There are so many markdown impementations in Debian, just some suggestions 
> with executables:
> python3-markdown
> python3-markdown2
> python3-markdown-it
> rust-markdown
> libtext-markdown-perl
> pmarkdown

There are, but honestly I feel Markdown.pl has historic value as the
original reference implementation even if there's other impls.

What I'd suggest is reflecting this fact in the package description and
pointing towards the other implementations in Debian. Last time I searched
for alternatives for /usr/bin/markdown I had a hard time finding anything
that comes with a commandline utility but apparently I was just being dense :)

--Daniel

Attachment: signature.asc
Description: PGP signature

Reply via email to