🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #559

Bug#1149541: debian-reference: please add a Markdown output target

#559
From: Osamu Aoki
Date: Mon, 12 Oct 2026 04:30
47 lines
3673 bytes
Hi,


Thanks for quick reply.

On Sun, 2026-10-11 at 20:03 -0700, Osman Vielma wrote:
> Hi Osamu,
> 
> Thank you for taking the time to discuss this. My first message did not
> explain the use case clearly. I am not proposing to replace HTML or PDF.
> ...
> repository and no tag was overwritten. I have attached chapter 3, "The system
> initialization", from that proof of concept, plus a screenshot of a local GFM
> preview showing a table and a code block. The screenshot is not from Obsidian
> or Markor. Some links in the chapter point to other chapters and need the rest
> of the files beside it.
> 
This looks reasonable.

> I understand your wish to avoid another output format and an extra build
> dependency. Markdown-compatible text as an improvement to the current TXT
> output sounds worth exploring. Pandoc was used for this proof of concept; it
> was not intended as a required implementation choice. Your suggestion of going
> directly from XML through XSLT makes sense as a direction to investigate.
> 

It is non-trivial.  Using pandoc inplace for w3m maybe much easier to impliment
addressing all the corner cases.


FYI: See my draft MR
  https://salsa.debian.org/debian/debian-reference/-/merge_requests/31

> This is still a sample of the desired output, not a ready-to-merge build
> patch. The attached files show the use case and the table rendering.
> 

Can you share your code.  So I can leverage it to make it ready for merge.

Osamu
Technical Details
Message-ID: <NNfPH-50Dy-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NNe7f-4ZFg-3@gated-at.bofh.it> <NNe7f-4ZFg-1@gated-at.bofh.it> <NNfPH-50Dy-5@gated-at.bofh.it> <NNe7f-4ZFg-3@gated-at.bofh.it> <NNfPH-50Dy-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Osamu Aoki <osamu@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149541: debian-reference: please add a Markdown output target
Date: Mon, 12 Oct 2026 06:30:01 +0200
Message-ID: <NNfPH-50Dy-3@gated-at.bofh.it>
References: <NNe7f-4ZFg-3@gated-at.bofh.it> <NNe7f-4ZFg-1@gated-at.bofh.it> <NNfPH-50Dy-5@gated-at.bofh.it> <NNe7f-4ZFg-3@gated-at.bofh.it> <NNfPH-50Dy-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 12 04:21:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Osamu Aoki <osamu@debian.org>, 1149541@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: osamu@debian.org
X-Debian-Pr-Message: followup 1149541
X-Debian-Pr-Package: debian-reference
X-Debian-Pr-Source: debian-reference
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-10+b1 
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996348
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1149541@bugs.debian.org
X-Original-Date: Mon, 12 Oct 2026 13:19:46 +0900
X-Original-Message-ID: <bd6b76c862746c53ef001957add9e387e05241c5.camel@debian.org>
X-Original-References: <CAKQP=7NKzKUUWk9Erh=6Dqkj7euO8tPgEGyunf+rcUcPJfgeDw@mail.gmail.com>  <82895bacdab4b3d597b1fba143f641ed0891cb82.camel@debian.org>  <CAKQP=7MYyGZDC5ArQA0CSnY65hY4LBjcC-RAa8jiZeQUOkbTmQ@mail.gmail.com> <CAKQP=7NKzKUUWk9Erh=6Dqkj7euO8tPgEGyunf+rcUcPJfgeDw@mail.gmail.com> <CAKQP=7MYyGZDC5ArQA0CSnY65hY4LBjcC-RAa8jiZeQUOkbTmQ@mail.gmail.com>