exercism / v3-launch

0 stars 3 forks source link

Add Ace editor and highlightjs languages to config.json #32

Closed ErikSchierboom closed 3 years ago

ErikSchierboom commented 3 years ago

Add two new keys to the online_editor property in the config.json files:

  1. ace_editor_language: the language identifier for the Ace editor that is used to edit code on the website
  2. highlightjs_language: the language identifier for Highlight.js which is used to highlight code on the website

For more information, see https://github.com/exercism/docs/pull/124/files

booniepepper commented 3 years ago

I'm merging for Factor and Zig, but these languages aren't supported by either editor.

Is it safe to assume that returning an unsupported value will not fail horribly, but just drop into plain text editing with no syntax highlighting?

ErikSchierboom commented 3 years ago

I think that was the case, right @kntsoriano?

kntsoriano commented 3 years ago

@ErikSchierboom Yes. Just no syntax highlighting.

booniepepper commented 3 years ago

Thanks! ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 7, 2021 3:02 AM, Karlo Soriano @.***> wrote:

@ErikSchierboom Yes. Just no syntax highlighting.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.