September 26, 2016 Re: Diet-NG 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | (small correction:) _diet_output.put("<html><head><title>Hello "); _diet_output.htmlEscape("World"); _diet_output.put("</title></head></html>"); |
September 28, 2016 Re: Diet-NG 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On Monday, 26 September 2016 at 13:00:46 UTC, Sönke Ludwig wrote:
> (small correction:)
>
> _diet_output.put("<html><head><title>Hello ");
> _diet_output.htmlEscape("World");
> _diet_output.put("</title></head></html>");
Sönke, I am your biggest fan, but you never reply me.
|
September 28, 2016 Re: Diet-NG 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Emre Temelkuran | Am 28.09.2016 um 03:28 schrieb Emre Temelkuran:
> On Monday, 26 September 2016 at 13:00:46 UTC, Sönke Ludwig wrote:
>> (small correction:)
>>
>> _diet_output.put("<html><head><title>Hello ");
>> _diet_output.htmlEscape("World");
>> _diet_output.put("</title></head></html>");
>
> Sönke, I am your biggest fan, but you never reply me.
Hm, definitely sorry about that! I miss a certain percentage of issues/forum messages these days because of the limited time I have left for processing them. But if you have a link, I'll try to reply ASAP!
|
September 28, 2016 Re: Diet-NG 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | >> Sönke, I am your biggest fan, but you never reply me.
>
> Hm, definitely sorry about that! I miss a certain percentage of issues/forum messages these days because of the limited time I have left for processing them. But if you have a link, I'll try to reply ASAP!
Is this guy a bot ? Seems so to me.
|
October 04, 2016 Re: Diet-NG 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig Attachments:
| On Sun, Sep 25, 2016 at 10:46 AM, Sönke Ludwig via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > Am 24.09.2016 um 15:04 schrieb WebFreak001: > >> On Friday, 23 September 2016 at 11:47:23 UTC, Sönke Ludwig wrote: >> >>> The Diet template language is aimed at providing a way to define procedurally generated HTML/XML pages (or other output formats), with minimal visual noise. Syntax and feature set are heavily inspired by pug <https://pugjs.org/>, but instead of JavaScript, all expressions and statements are D statements, and everything that can be done at compile-time is done at compile-time. >>> >> >> Cool, does it also work for generating diet -> html at runtime without inline D code? Would be pretty neat to have for static pages. >> > > Not included, but that would be relatively trivial to implement by taking the diet.html module and modifying it to output HTML instead of D code. It would actually be really easy to build a Jade/pug compiler that way. > If you just want to do runtime jade -> html right now you can use my Jade implementation [0]. I don't think it has any users though so your mileage may vary. Even I use Diet :) R [0] https://github.com/rjmcguire/jaded |
Copyright © 1999-2021 by the D Language Foundation