* Preferred blog format - Markdown or SXML?
@ 2018-04-22 8:27 Chris Marusich
2018-04-22 8:38 ` Pierre Neidhardt
2018-04-22 14:38 ` Ricardo Wurmus
0 siblings, 2 replies; 13+ messages in thread
From: Chris Marusich @ 2018-04-22 8:27 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
Hi,
I'd like to write a couple blog posts for the Guix blog [1]. The
guix-artwork Git repository [2] appears to contain the existing posts.
Most are written using SXML [3], but some are written using Markdown
[4]. Is there a preferred format? Is there any reason why one might be
better than the other for certain situations? Markdown looks easier to
write, especially since I will probably want to embed pre-formatted text
to show example code.
Footnotes:
[1] https://www.gnu.org/software/guix/blog/
[2] https://savannah.gnu.org/git/?group=guix
[3] Example: https://www.gnu.org/software/guix/blog/2016/guixsd-system-tests/
[4] https://www.gnu.org/software/guix/blog/2017/creating-bundles-with-guix-pack/
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-22 8:27 Preferred blog format - Markdown or SXML? Chris Marusich
@ 2018-04-22 8:38 ` Pierre Neidhardt
2018-04-22 14:22 ` Adam Massmann
2018-04-25 13:32 ` Preferred blog format - Markdown or SXML? Adonay Felipe Nogueira
2018-04-22 14:38 ` Ricardo Wurmus
1 sibling, 2 replies; 13+ messages in thread
From: Pierre Neidhardt @ 2018-04-22 8:38 UTC (permalink / raw)
To: Chris Marusich; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
What about Org-mode?
Rationale:
http://karl-voit.at/2017/09/23/orgmode-as-markup-only
--
Pierre Neidhardt
Everything ends badly. Otherwise it wouldn't end.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-22 8:38 ` Pierre Neidhardt
@ 2018-04-22 14:22 ` Adam Massmann
2018-04-25 14:00 ` Thompson, David
2018-04-25 13:32 ` Preferred blog format - Markdown or SXML? Adonay Felipe Nogueira
1 sibling, 1 reply; 13+ messages in thread
From: Adam Massmann @ 2018-04-22 14:22 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
Hi,
Pierre Neidhardt <ambrevar@gmail.com> writes:
> What about Org-mode?
> Rationale:
>
> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
The website uses the haunt [1] static site generator which
does not currently support direct reading of org files. However, you
could easily export an org file to one of the supported formats (like
html).
To my knowledge, the supported reader formats are: html, sxml, texinfo,
skribe and commonmark (See "Programming Interface/Readers" in Haunt's
documentation). The readers are defined in the site's haunt.scm
file (in this case guix-artwork/website/haunt.scm). Currently sxml,
html, and commonmark are defined in that file, so you could write a blog
post in any of those formats (e.g. use whatever you prefer) and it will
just work with the site generator. If you want to use texinfo or
skribe you would just need to alter haunt.scm accordingly.
However, even though Haunt handles multiple post formats, it's
possible that the Guix project has a preferred format, so please let me know if that is the case.
Best,
Adam
Footnotes:
[1] https://dthompson.us/projects/haunt.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-22 14:22 ` Adam Massmann
@ 2018-04-25 14:00 ` Thompson, David
2018-04-25 14:20 ` Clément Lassieur
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Thompson, David @ 2018-04-25 14:00 UTC (permalink / raw)
To: Adam Massmann; +Cc: guix-devel
On Sun, Apr 22, 2018 at 10:22 AM, Adam Massmann <massmannak@gmail.com> wrote:
>
> Hi,
>
> Pierre Neidhardt <ambrevar@gmail.com> writes:
>
>> What about Org-mode?
>> Rationale:
>>
>> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
>
> The website uses the haunt [1] static site generator which
> does not currently support direct reading of org files. However, you
> could easily export an org file to one of the supported formats (like
> html).
If anyone writes an org-mode parser in Guile, let me know and I'll add
support for it in Haunt. I wouldn't even know where to begin with
trying to parse org files. :)
- Dave
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-25 14:00 ` Thompson, David
@ 2018-04-25 14:20 ` Clément Lassieur
2018-04-25 14:39 ` Nicolas Goaziou
2018-04-26 12:50 ` Org-mode for Haunt Ludovic Courtès
2 siblings, 0 replies; 13+ messages in thread
From: Clément Lassieur @ 2018-04-25 14:20 UTC (permalink / raw)
To: Thompson, David; +Cc: guix-devel
Thompson, David <dthompson2@worcester.edu> writes:
> On Sun, Apr 22, 2018 at 10:22 AM, Adam Massmann <massmannak@gmail.com> wrote:
>>
>> Hi,
>>
>> Pierre Neidhardt <ambrevar@gmail.com> writes:
>>
>>> What about Org-mode?
>>> Rationale:
>>>
>>> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
>>
>> The website uses the haunt [1] static site generator which
>> does not currently support direct reading of org files. However, you
>> could easily export an org file to one of the supported formats (like
>> html).
>
> If anyone writes an org-mode parser in Guile, let me know and I'll add
> support for it in Haunt. I wouldn't even know where to begin with
> trying to parse org files. :)
As a workaround or as a starting point, there is OrgRuby
(https://github.com/wallyqs/org-ruby, packaged for Guix as
ruby-org-ruby). I don't know if Haunt supports Ruby though.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-25 14:00 ` Thompson, David
2018-04-25 14:20 ` Clément Lassieur
@ 2018-04-25 14:39 ` Nicolas Goaziou
2018-04-26 12:50 ` Org-mode for Haunt Ludovic Courtès
2 siblings, 0 replies; 13+ messages in thread
From: Nicolas Goaziou @ 2018-04-25 14:39 UTC (permalink / raw)
To: Thompson, David; +Cc: guix-devel
Hello,
"Thompson, David" <dthompson2@worcester.edu> writes:
> If anyone writes an org-mode parser in Guile, let me know and I'll add
> support for it in Haunt. I wouldn't even know where to begin with
> trying to parse org files. :)
You would probably start here ;)
https://orgmode.org/worg/dev/org-syntax.html
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 13+ messages in thread
* Org-mode for Haunt
2018-04-25 14:00 ` Thompson, David
2018-04-25 14:20 ` Clément Lassieur
2018-04-25 14:39 ` Nicolas Goaziou
@ 2018-04-26 12:50 ` Ludovic Courtès
2018-04-26 13:58 ` Jose Garza
2 siblings, 1 reply; 13+ messages in thread
From: Ludovic Courtès @ 2018-04-26 12:50 UTC (permalink / raw)
To: Thompson, David; +Cc: guix-devel
Hello!
"Thompson, David" <dthompson2@worcester.edu> skribis:
> On Sun, Apr 22, 2018 at 10:22 AM, Adam Massmann <massmannak@gmail.com> wrote:
>>
>> Hi,
>>
>> Pierre Neidhardt <ambrevar@gmail.com> writes:
>>
>>> What about Org-mode?
>>> Rationale:
>>>
>>> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
>>
>> The website uses the haunt [1] static site generator which
>> does not currently support direct reading of org files. However, you
>> could easily export an org file to one of the supported formats (like
>> html).
>
> If anyone writes an org-mode parser in Guile, let me know and I'll add
> support for it in Haunt. I wouldn't even know where to begin with
> trying to parse org files. :)
Andy wrote a parser for a useful subset of Org syntax in Guile-Present:
http://wingolog.org/projects/guile-present/
Perhaps we could make a new reader out of it in Haunt? Any takers? :-)
Ludo’.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Org-mode for Haunt
2018-04-26 12:50 ` Org-mode for Haunt Ludovic Courtès
@ 2018-04-26 13:58 ` Jose Garza
2018-04-26 17:59 ` swedebugia
2018-04-29 17:09 ` Ludovic Courtès
0 siblings, 2 replies; 13+ messages in thread
From: Jose Garza @ 2018-04-26 13:58 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]
What kind of effort do you think this would take? Is this a good first
commit?
On Thu, Apr 26, 2018, 8:50 AM Ludovic Courtès <ludo@gnu.org> wrote:
> Hello!
>
> "Thompson, David" <dthompson2@worcester.edu> skribis:
>
> > On Sun, Apr 22, 2018 at 10:22 AM, Adam Massmann <massmannak@gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> Pierre Neidhardt <ambrevar@gmail.com> writes:
> >>
> >>> What about Org-mode?
> >>> Rationale:
> >>>
> >>> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
> >>
> >> The website uses the haunt [1] static site generator which
> >> does not currently support direct reading of org files. However, you
> >> could easily export an org file to one of the supported formats (like
> >> html).
> >
> > If anyone writes an org-mode parser in Guile, let me know and I'll add
> > support for it in Haunt. I wouldn't even know where to begin with
> > trying to parse org files. :)
>
> Andy wrote a parser for a useful subset of Org syntax in Guile-Present:
>
> http://wingolog.org/projects/guile-present/
>
> Perhaps we could make a new reader out of it in Haunt? Any takers? :-)
>
> Ludo’.
>
>
[-- Attachment #2: Type: text/html, Size: 2117 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Org-mode for Haunt
2018-04-26 13:58 ` Jose Garza
@ 2018-04-26 17:59 ` swedebugia
2018-04-27 8:07 ` Catonano
2018-04-29 17:09 ` Ludovic Courtès
1 sibling, 1 reply; 13+ messages in thread
From: swedebugia @ 2018-04-26 17:59 UTC (permalink / raw)
To: Jose Garza, Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
Hi
The source code is not available via the git repository on that page and neither anywhere else according to a quick search.
Is 0.3 the latest release?
/swedebugia
On April 26, 2018 3:58:49 PM GMT+02:00, Jose Garza <jose.garza.m@gmail.com> wrote:
>What kind of effort do you think this would take? Is this a good first
>commit?
>
>On Thu, Apr 26, 2018, 8:50 AM Ludovic Courtès <ludo@gnu.org> wrote:
>
>> Hello!
>>
>> "Thompson, David" <dthompson2@worcester.edu> skribis:
>>
>> > On Sun, Apr 22, 2018 at 10:22 AM, Adam Massmann
><massmannak@gmail.com>
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> Pierre Neidhardt <ambrevar@gmail.com> writes:
>> >>
>> >>> What about Org-mode?
>> >>> Rationale:
>> >>>
>> >>> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
>> >>
>> >> The website uses the haunt [1] static site generator which
>> >> does not currently support direct reading of org files. However,
>you
>> >> could easily export an org file to one of the supported formats
>(like
>> >> html).
>> >
>> > If anyone writes an org-mode parser in Guile, let me know and I'll
>add
>> > support for it in Haunt. I wouldn't even know where to begin with
>> > trying to parse org files. :)
>>
>> Andy wrote a parser for a useful subset of Org syntax in
>Guile-Present:
>>
>> http://wingolog.org/projects/guile-present/
>>
>> Perhaps we could make a new reader out of it in Haunt? Any takers?
>:-)
>>
>> Ludo’.
>>
>>
[-- Attachment #2: Type: text/html, Size: 2624 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Org-mode for Haunt
2018-04-26 13:58 ` Jose Garza
2018-04-26 17:59 ` swedebugia
@ 2018-04-29 17:09 ` Ludovic Courtès
1 sibling, 0 replies; 13+ messages in thread
From: Ludovic Courtès @ 2018-04-29 17:09 UTC (permalink / raw)
To: Jose Garza; +Cc: guix-devel
Hi,
Jose Garza <jose.garza.m@gmail.com> skribis:
> What kind of effort do you think this would take? Is this a good first
> commit?
It requires familiarity with Scheme and Haunt, I suppose.
swedebugia <swedebugia@riseup.net> skribis:
> The source code is not available via the git repository on that page and neither anywhere else according to a quick search.
> Is 0.3 the latest release?
Yes. I think you can grab source code from there as a starting point.
If/when Andy makes changes, we can always synchronize. One could
eventually turn the Org-mode code into a separate package.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-22 8:38 ` Pierre Neidhardt
2018-04-22 14:22 ` Adam Massmann
@ 2018-04-25 13:32 ` Adonay Felipe Nogueira
1 sibling, 0 replies; 13+ messages in thread
From: Adonay Felipe Nogueira @ 2018-04-25 13:32 UTC (permalink / raw)
To: guix-devel
2018-04-22T14:08:33+0530 Pierre Neidhardt wrote:
> What about Org-mode?
> Rationale:
>
> http://karl-voit.at/2017/09/23/orgmode-as-markup-only
Yeah... I was about to ask the same question.
I don't want to force anyone to write in Org-mode, precisely because I
don't write in the blog yet --- but I do know some tricks on how to get
GNU Guix and packages working almost flawlessly in Trisquel 7 and 8 ---,
but I personally find Org-mode easier to learn and write (than
Markdown), has more features, an active community, and (in the near
future perhaps?) will become a document preparation standard (although I
don't like /de facto/ standards, and the only formal one I know about is
the binary and plain-text-editor-unfriendly ODF and co., and if these
are editable in plain text editors, the amount of typing for most basic
markup sets new people off).
--
- Formas de contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Ativista do /software/ livre (não confundir com gratuito). Avaliador
da liberdade de /software/ e de /sites/.
- Arquivos que aceito: https://libreplanet.org/wiki/User:Adfeno#Arquivos
- Contribuições à sociedade:
https://libreplanet.org/wiki/User:Adfeno#Contributions
- Gosta do meu trabalho? Contrate-me ou doe algo para mim!
https://libreplanet.org/wiki/User:Adfeno#Suporte
- Use comunicações sociais federadas padronizadas, onde o "social"
permanece independente do fornecedor. #DeleteWhatsApp. Use #XMPP
(https://libreplanet.org/wiki/XMPP.pt), #DeleteFacebook
#DeleteInstagram #DeleteTwitter #DeleteYouTube. Use #ActivityPub via
#Mastodon (https://joinmastodon.org/).
- #DeleteNetflix #CancelNetflix. Evite #DRM:
https://www.defectivebydesign.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Preferred blog format - Markdown or SXML?
2018-04-22 8:27 Preferred blog format - Markdown or SXML? Chris Marusich
2018-04-22 8:38 ` Pierre Neidhardt
@ 2018-04-22 14:38 ` Ricardo Wurmus
1 sibling, 0 replies; 13+ messages in thread
From: Ricardo Wurmus @ 2018-04-22 14:38 UTC (permalink / raw)
To: Chris Marusich; +Cc: guix-devel
Hi Chris,
> I'd like to write a couple blog posts for the Guix blog [1]. The
> guix-artwork Git repository [2] appears to contain the existing posts.
> Most are written using SXML [3], but some are written using Markdown[…]
Generally, the older ones are written in SXML because earlier Haunt did
not have a Markdown reader.
Unless you need special HTML constructs or classes I suggest using
Markdown for the Guix blog.
--
Ricardo
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-04-29 17:09 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 8:27 Preferred blog format - Markdown or SXML? Chris Marusich
2018-04-22 8:38 ` Pierre Neidhardt
2018-04-22 14:22 ` Adam Massmann
2018-04-25 14:00 ` Thompson, David
2018-04-25 14:20 ` Clément Lassieur
2018-04-25 14:39 ` Nicolas Goaziou
2018-04-26 12:50 ` Org-mode for Haunt Ludovic Courtès
2018-04-26 13:58 ` Jose Garza
2018-04-26 17:59 ` swedebugia
2018-04-27 8:07 ` Catonano
2018-04-29 17:09 ` Ludovic Courtès
2018-04-25 13:32 ` Preferred blog format - Markdown or SXML? Adonay Felipe Nogueira
2018-04-22 14:38 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.