[OT] Re: Redesign of dlang.org

Colin via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 29 06:40:42 PDT 2014


On Tuesday, 29 July 2014 at 08:51:43 UTC, w0rp wrote:
> On Tuesday, 29 July 2014 at 08:27:40 UTC, Sönke Ludwig wrote:
>> Am 29.07.2014 00:54, schrieb w0rp:
>>> On Monday, 28 July 2014 at 22:38:10 UTC, Sönke Ludwig wrote:
>>>>> I'll look at playing with the style of the documentation 
>>>>> pages some more
>>>>> another evening. I've had a few ideas for improvements, and 
>>>>> I obviously
>>>>> still need to include syntax highlighting. Is this the 
>>>>> library which is
>>>>> being used on the live site now for that?
>>>>>
>>>>> https://code.google.com/p/google-code-prettify/
>>>>
>>>> That plus some modifications to add D support. But my plan 
>>>> was to use
>>>> server side highlighting using Brian Schott's lexer in the 
>>>> future.
>>>
>>> That's probably a good call. Were you thinking of discovering 
>>> <code>
>>> blocks in pages and running the lexer on them to produce the 
>>> formatted
>>> output?
>>
>> The other way around. DDOX and the Markdown processor would 
>> directly call the syntax highlighter on code sections they 
>> encounter. The result would then directly be written to the 
>> output range.
>
> Sounds good to me. This is starting to remind me of Inception. A
> D website running on vibe.d which invokes a D compiler to 
> produce
> D documentation which produces syntax highlighting for D code
> blocks using a D lexer.

Confusing sentence. Deception at it's finest.

/sorry


More information about the Digitalmars-d mailing list