[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1042062: RFP: mdformat -- Markdown formatter that can be used to enforce a consistent style in Markdown files.



Control: tags -1 +pending +patch

Hi!

There's now a package for this! It was relatively easy to build, thanks
to py2dsp and the excellent pybuild toolchain (and the fact that
upstream doesn't have any dep missing from debian).

I pushed the code to salsa:

https://salsa.debian.org/python-team/packages/mdformat

... and it should land in NEW shortly as well.

One thing that's going to be missing here is the plethora of plugins in
the mdformat ecosystem. In my experiments, *most* markdown files I find
have at least need for *one* of those plugins, e.g. at least tables and
front matter, in my case.

I'm even going to need an extra plugin for GitLab's `[[_TOC_]]` thing,
although arguably that could be replaced by the mdformat-toc plugin as
well.

So I'm not sure how to package those: it seems silly to have one package
for each plugin, but maybe that's the simplest way forward, as I'm not
sure I want to deal with a multi-tarball thing...

Anyways, let me know if that works for you!

a.
-- 
Imagination is more important than knowledge.
Knowledge is limited.
Imagination encircles the world.
                        - Albert Einstein


Reply to: