January 01, 2019
On Tuesday, 1 January 2019 at 18:10:49 UTC, Mike Parker wrote:

> We're using Mivhak Syntax Highlighter on the D Blog.
OOTB, or...?

I couldn't find a list of supported languages.

January 01, 2019
On Tuesday, 1 January 2019 at 18:32:24 UTC, Andre Pany wrote:

> If your reason for not choosing WordPress is related to security concerns you could also consider this approach.

Not so much a security concern, I'm just looking for the path of least resistance. If that's WP, that's fine, but if it's another road, so be it.



January 01, 2019
On Tuesday, 1 January 2019 at 20:27:44 UTC, Ron Tarrant wrote:
> I couldn't find a list of supported languages.

Realistically, if you use Java or C++ highlighting, it will look plenty good enough for D too.

So take a look down my highlight test page for my adrdox generator:

http://dpldocs.info/experimental-docs/adrdox.highlight.html

(which btw i also happen to use for my new blog http://dpldocs.info/this-week-in-d/Blog.Posted_2018_12_31.html )


I wrote like 30 lines of code and very simple definitions to support all the languages in that test. And it is plenty good enough.

Of course, it DOES support D, extremely fully - it has a full-blown D lexer in there. But tbh if I use the C family highlighter for D you usually can't tell the difference.
January 01, 2019
On Tuesday, 1 January 2019 at 20:43:13 UTC, Adam D. Ruppe wrote:

> Realistically, if you use Java or C++ highlighting, it will look plenty good enough for D too.

Yeah, I was thinking that. I'd imagine it would be missing a few keywords, though.

> So take a look down my highlight test page for my adrdox generator:
>
> http://dpldocs.info/experimental-docs/adrdox.highlight.html

That's pretty cool. Thanks. However, I'm not seeing anyway to grab this and use it. I clicked on links, but didn't really find my way to a better understanding.

> (which btw i also happen to use for my new blog http://dpldocs.info/this-week-in-d/Blog.Posted_2018_12_31.html )

I'll have to check that out.

> I wrote like 30 lines of code and very simple definitions to support all the languages in that test. And it is plenty good enough.

Cool. And I can download this? I don't know if I'm being dim, but I really don't see how to.

> Of course, it DOES support D, extremely fully - it has a full-blown D lexer in there. But tbh if I use the C family highlighter for D you usually can't tell the difference.

No doubt! :)
January 02, 2019
On Tuesday, 1 January 2019 at 20:27:44 UTC, Ron Tarrant wrote:
> On Tuesday, 1 January 2019 at 18:10:49 UTC, Mike Parker wrote:
>
>> We're using Mivhak Syntax Highlighter on the D Blog.
> OOTB, or...?
>
> I couldn't find a list of supported languages.

It supports D out of the box.
January 02, 2019
On Wednesday, 2 January 2019 at 02:09:11 UTC, Mike Parker wrote:

> It supports D out of the box.
Thanks, Mike. Once I downloaded it and dug around, I found the list of supported languages. Odd they don't list these on the about page or wherever.


1 2
Next ›   Last »