Jump to page: 1 2
Thread overview
D-oriented Syntax Highlighting Plugin for WordPress?
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
rjframe
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
rjframe
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
Neia Neutuladh
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
Mike Parker
Jan 01, 2019
Ron Tarrant
Jan 01, 2019
Adam D. Ruppe
Jan 01, 2019
Ron Tarrant
Jan 02, 2019
Mike Parker
Jan 02, 2019
Ron Tarrant
Jan 01, 2019
Andre Pany
Jan 01, 2019
Ron Tarrant
January 01, 2019
I've found a ton of syntax highlighter plugins for WordPress, but none that admit to supporting D. Anyone know of one?

Or, short of that, perhaps a different site build/management tool (read: not WordPress) with decent D syntax highlighting...

Or, one that can be adapted without rolling my sleeves much past my wrists.

January 01, 2019
And while we're on the subject, a couple of related questions:

1) I'm currently using AgilityHoster which gives me a free site and $18/year domain registration. Any better deals out there without sacrificing UX?

2) Anyone have experience with Github Pages?

3) Or if anyone cares to share experiences with a particular hosting service from the POV of running a coding/programming blog?

January 01, 2019
On Tue, 01 Jan 2019 14:46:15 +0000, Ron Tarrant wrote:

> I've found a ton of syntax highlighter plugins for WordPress, but none that admit to supporting D. Anyone know of one?
> 
> Or, short of that, perhaps a different site build/management tool (read: not WordPress) with decent D syntax highlighting...
> 
> Or, one that can be adapted without rolling my sleeves much past my wrists.

I use SilverStripe instead of Wordpress, but if WordPress uses TinyMCE you can use the codesample plugin[0] with PrismJS[1], which does support D (though I don't know if it actively gets updates).


[0]: https://www.tiny.cloud/docs/plugins/codesample/
[1]: http://prismjs.com/
January 01, 2019
On Tuesday, 1 January 2019 at 15:36:11 UTC, rjframe wrote:

> I use SilverStripe instead of Wordpress, but if WordPress uses TinyMCE you can use the codesample plugin[0] with PrismJS[1], which does support D (though I don't know if it actively gets updates).
>
>
> [0]: https://www.tiny.cloud/docs/plugins/codesample/
> [1]: http://prismjs.com/

SilverStripe, on the surface, seems quite WordPress-alike. Did you find advantages over WordPress, or is it personal preference? How's the syntax highlighting? (I skimmed the video, but didn't see any mention of this.)

PrismJS looks promising.

January 01, 2019
On Tue, 01 Jan 2019 16:48:00 +0000, Ron Tarrant wrote:

> SilverStripe, on the surface, seems quite WordPress-alike. Did you find
> advantages over WordPress, or is it personal preference?
> How's the syntax highlighting? (I skimmed the video, but didn't see any
> mention of this.)
> 
> PrismJS looks promising.

I started using SilverStripe 7 or 8 years ago, and have never had a reason to look for anything else. It doesn't have the ecosystem of WordPress and never seemed to get much following outside New Zealand, but it's well- designed and makes working with PHP not-horrible (and sometimes almost pleasant). I'm not familiar enough with WordPress to make any comparison.

I've documented my syntax highlighting setup[0] but it assumes familiarity with SilverStripe; reading through the official examples should be enough:

https://www.ryanjframe.com/blog/syntax-highlighting-in-silverstripe/


--Ryan
January 01, 2019
On Tuesday, 1 January 2019 at 17:09:51 UTC, rjframe wrote:

> I started using SilverStripe 7 or 8 years ago, and have never had a reason to look for anything else. It doesn't have the ecosystem of WordPress and never seemed to get much following outside New Zealand, but it's well- designed and makes working with PHP not-horrible (and sometimes almost pleasant). I'm not familiar enough with WordPress to make any comparison.
>
> I've documented my syntax highlighting setup[0] but it assumes familiarity with SilverStripe; reading through the official examples should be enough:
>
> https://www.ryanjframe.com/blog/syntax-highlighting-in-silverstripe/
>
>
> --Ryan

Thanks, Ryan. I'll take a look.
January 01, 2019
On Tue, 01 Jan 2019 14:46:15 +0000, Ron Tarrant wrote:
> I've found a ton of syntax highlighter plugins for WordPress, but none that admit to supporting D. Anyone know of one?

I believe I use Enlighter for that: https://wordpress.org/plugins/enlighter/
January 01, 2019
On Tuesday, 1 January 2019 at 14:46:15 UTC, Ron Tarrant wrote:
> I've found a ton of syntax highlighter plugins for WordPress, but none that admit to supporting D. Anyone know of one?
>
> Or, short of that, perhaps a different site build/management tool (read: not WordPress) with decent D syntax highlighting...
>
> Or, one that can be adapted without rolling my sleeves much past my wrists.

We're using Mivhak Syntax Highlighter on the D Blog.
January 01, 2019
On Tuesday, 1 January 2019 at 14:46:15 UTC, Ron Tarrant wrote:
> I've found a ton of syntax highlighter plugins for WordPress, but none that admit to supporting D. Anyone know of one?
>
> Or, short of that, perhaps a different site build/management tool (read: not WordPress) with decent D syntax highlighting...
>
> Or, one that can be adapted without rolling my sleeves much past my wrists.

I run WordPress on my localhost and use a static site generator to create plain html files. These files I can simply upload using ftp. Therefore I have a nice ui for editing the content and also do not have to care about security and vulnerabilities.

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

Kind regards
Andre
January 01, 2019
On Tuesday, 1 January 2019 at 18:07:22 UTC, Neia Neutuladh wrote:

> I believe I use Enlighter for that: https://wordpress.org/plugins/enlighter/
Did you have to massage it? I don't see D in its list of supported languages.

« First   ‹ Prev
1 2