./textproc/lowdown, Simple Markdown translator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.0, Package name: lowdown-3.0.0, Maintainer: pkgsrc-users

lowdown is just another Markdown translator. It can output traditional
HTML or a document for your troff type-setter of choice, such as
groff(1), Heirloom troff, or even mandoc(1). lowdown doesn't require
XSLT, Python, or even Perl - it's just clean, secure, open source
C code with no dependencies.


Master sites:

Filesize: 746.033 KB

Version history: (Expand)


CVS history: (Expand)


   2026-03-09 18:32:36 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message: lowdown: update to 3.0.0. Added initial support for outputting modern Unix manpages with -tmdoc. This is intended as a replacement for the legacy -tman. Supplement this with --roff-manpage, which accepts a markdown file that looks like a Unix manpage and attempts to convert it into a well-formed mdoc or man. Most of this is purely syntactic, but several sections in Unix manpages (e.g., the NAME and SYNOPSIS) have a rigorous syntax that this mode attempts to output. Several minor (but breaking) changes to the API to take up fewer bits in the oflags field of struct lowdown_opts: consolidate all XXX_NOLINK, XXX_RELLINK, and XXX_SHORTLINK as LOWDOWN_NOLINK, LOWDOWN_RELLINK, and LOWDOWN_SHORTLINK. This only applies to the LOWDOWN_MAN, LOWDOWN_MS, and LOWDOWN_TERM output modes. The earlier LOWDOWN_NROFF output mode is deprecated and is now an alias for LOWDOWN_MS, which should be used moving forward. Do the same with the various XXX_SKIP_HTML bits. Deprecate the lowdown_nroff_xxx in favour of lowdown_roff_xxx. The functions remain as deprecated and passing through to the new equivalents. Deprecate the macro variables LOWDOWN_NROFF_GROFF LOWDOWN_NROFF_NUMBERED LOWDOWN_NROFF_MANPAGE LOWDOWN_NROFF_ENDNOTES in favour of their ROFF names. The old macros are aliased for compatibility. Library bumped from version 2 to 3 for those reasons. Tweak the behaviour of -tterm and --term-no-links (or --term-no-rellinks) with respect to embedded images and no text so that there's always a clickable link and image component, if possible. Add --roff-no-rellinks, similar to --term-no-rellinks. Respect --roff-short-links in more cases as well. Change the behaviour of -tms and -tman where --roff-no-links (or the new --roff-no-rellinks) will have consistent behaviour even if --roff-traditional is not specified. Fix that, when using lowdown-diff for the terminal, resetting the colour after an insertion or delete would trigger the black colour, which obviously doesn't work with a black background. Instead, use the default colour. When generating header identifiers in -thtml, incorporate codespan text as well. This is the same as pandoc's default behaviour as well. 
   2025-11-19 16:54:26 by David H. Gutteridge | Files touched by this commit (3)
Log message: lowdown: fix compat function linking differently As of 2.0.4, upstream actually added context to handle this linking while keeping other symbol visibility hidden as they want. However, it wasn't factored in to the "libtoolization" changes that were made for pkgsrc purposes. (PR pkg/59614, PR pkg/59619.) 
   2025-11-19 15:37:05 by David H. Gutteridge | Files touched by this commit (1)
Log message: lowdown: also adjust distinfo for patch change from previous 
   2025-11-19 15:36:03 by David H. Gutteridge | Files touched by this commit (2)
Log message: lowdown: fix builds on platforms that require compat functions Addresses PR pkg/59614 from Piper McCorkle (Linux) and PR pkg/59619 from db7@mini.fritz.box (macOS). 
   2025-11-19 10:09:39 by Thomas Klausner | Files touched by this commit (2)
Log message: lowdown: fix libtoolization 
   2025-11-18 09:45:26 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message: lowdown: update to 2.0.4. Hot-fix 2.0.3 with correct Mac OS X conventions in shared library versioning. 
   2025-11-18 09:43:40 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message: lowdown: update to 2.0.3. Automatically create the correct shared library type ("dylib") on Mac OS X. Fix how image links within links have their link content displayed using OSC8 encoding in terminal mode Fix how -tlatex, -tms, and -tman escape URLs or otherwise do percent and space encoding. 
   2025-10-07 10:22:40 by Thomas Klausner | Files touched by this commit (2)
Log message: lowdown: fix build with gcc 14