Deutsch   English   Français   Italiano  
<vege6a$lpr8$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Craig A. Berry" <craigberry@nospam.mac.com>
Newsgroups: comp.os.vms
Subject: Re: highlight.js & DCL
Date: Sun, 13 Oct 2024 07:24:42 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vege6a$lpr8$1@dont-email.me>
References: <vef7oh$caat$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Oct 2024 14:24:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="15ccc3ea825de78bed694279350e5572";
	logging-data="714600"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18MUYuJhQzVNyljCKnTjc7fFl+NlqmQ1os="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+F0X4C91tmyIA+ICLOXy41NHfz8=
Content-Language: en-US
In-Reply-To: <vef7oh$caat$1@dont-email.me>
Bytes: 1673

On 10/12/24 8:28 PM, Arne Vajhøj wrote:
> On 1/18/2022 7:56 PM, Arne Vajhøj wrote:
>> Long shot, but has anyone added DCL support to highlight.js?
>>
>> https://highlightjs.org/
>>
>> (it hash all kinds of programming languages, bash, cmd
>> etc. but no DCL)
> 
> I finally got to take a look at it.
> 
> Not so difficult.
> 
> First attempt attached below.

In case it's of interest to compare with what others have done, there is
a VSCODE extension that already does this:

https://github.com/tomesparon/OpenVMS-DCL-VSCODE-Lang-Support

which is in turn based on:

https://github.com/gnikonorov/OpenVMS-DCL-Sublime-Lang-Support