Switching gdcproject sources over to markdown

Iain Buclaw via D.gnu d.gnu at puremagic.com
Wed Jun 11 03:01:14 PDT 2014


On 11 June 2014 10:40, Johannes Pfau via D.gnu <d.gnu at puremagic.com> wrote:
> Am Wed, 11 Jun 2014 09:24:04 +0000
> schrieb "Iain Buclaw" <ibuclaw at gdcproject.org>:
>
>> Hi,
>>
>> I'm in the process of switching over the gdcproject.org sources
>> over from html [sic] to markdown format to allow ease of editing.
>>
>> Currently I am using just a generic markdown script to generate
>> the static webpages (ie: Markdown.pl) - though I hear that vibe.d
>> supports markdown, so it may be an opportunity to get gdc/vibe.d
>> hooked up and running the gdcproject.org site. :-)
>
> Great! Markdown rocks, although github-flavored markdown is a great
> improvement over plain markdown.
>
>>
>> There's also in the works a /news site with will be a kinda like
>> blog of all things gdc-related.  Again in markdown and this time
>> using Chronicle to compile the pages (maybe end up writing a
>> version in D if I get round to it).
>>
>>
>> Pretty much all html files are easily translatable, given that
>> the way I wrote the pages are very basic to begin with.  Only one
>> that is somewhat complex is the downloads page, which I'm told is
>> generated by another script.  ;)
>>
>> Johannes, does this affect things you are doing?
>
> As long as I can keep the downloads page as html there's no problem ;-)
>
> If you want the download page in markdown as well I'll have to port
> the mustache template[1] to markdown. I guess that could work, but I'd
> probably have to use html for the tables anyway.
>
> [1]
> https://github.com/jpf91/gdc-build-configs/blob/master/downloads.mustache
>

Yah, I'd probably want to avoid using too many technologies in one
tree if possible.  We should move to merge in your moustache changes
into the main gdcproject pages though...  Maybe wrap it all into a
*cough* makefile.


More information about the D.gnu mailing list