:: Re: [devuan-dev] My first commit
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ralph Ronnquist
Date:  
À: devuan-dev
Sujet: Re: [devuan-dev] My first commit
On Tue, 17 Aug 2021 21:50:40 -0400 (EDT)
Xenguy.fl9z@??? wrote:

> From: "Hendrik Boom" ; Sent: Tuesday, August 17, 2021 2:32:22 PM:
> > On Tue, Aug 17, 2021 at 02:09:24PM -0400, Hendrik Boom wrote:
> > > I made a change in the upgrade-to-chimaera.md file in
> > > documentation.
> > >
> > > Please check if I've done this properly. I'm just getting used to
> > > the tools.
> >
> > https://git.devuan.org/devuan/documentation/src/branch/master/install-guides/chimaera/upgrade-to-chimaera.md
>
> Looks good to me Hendrik, great to see that first commit : -)
>
> > I've noticed that the markdown processor I use doesn't seem to be
> > the same as the one gitea uses.
> >
> > In particular, it doesn't seem to know what to do with ~~~ at the
> > start of a line.
> >
> > -- hendrik
>
> I just tried 2 different markdown2html conversion utilities: markdown
> and pandoc. pandoc wins (markdown misses a number of things). I'll
> see if I can figure out how to get pandoc to use, e.g. <br> instead
> of <br />


There is little to no documentation about the markdown used by the
gitea version Devuan has installed. It doesn't seem possible to
configure this gitea to use a markdown renderer by choice, and there
also doesn't seem to be a compatible stand-alone rendering utility for
authoring use in your own workspace.

Another issue will always be that the HTML presentation on a browser
typically involves multiple files, which on the git repository side is
a severe complication. The repository does not keep the project files
"unpacked" as a directory tree, but only as git's binary objects. It
therefore is rather cumbersome for the web service to offer the
collective of files that the browser wants for its HTML+CSS+js
rendering.

In short I guess one should not think of the gitea repository browsing
support (aka gitea) to be a publishing area, but there should rather be
a publishing step that maps the content into HTML at a publishing site.

Ralph.