discourse/app/assets/javascripts
Penar Musaraj c052df412a
DEV: Add support for aliases in HighlightJS languages (#20380)
We were only supporting the main name of each HighlightJS language. So, by default, you could not use `js` or `jsx` to highlight Javascript, given they are aliases for `javascript`.

This PR adds a list of aliases as a constant to core (built via a rake task), and then checks against the `highlighted_languages` site settings plus the list of aliases when processing a code block.
2023-02-23 15:06:06 -05:00
..
admin DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
bootstrap-json DEV: Change enable_sidebar query param to navigation_menu (#20368) 2023-02-21 09:59:56 +08:00
confirm-new-email DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
dialog-holder Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
discourse DEV: Add support for aliases in HighlightJS languages (#20380) 2023-02-23 15:06:06 -05:00
discourse-common Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
discourse-ensure-deprecation-order DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
discourse-hbr Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
discourse-plugins Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
discourse-widget-hbs Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
docs
ember-addons
ember-cli-progress-ci DEV: Add progress output in CI during ember-cli build (#17977) 2022-08-17 22:39:52 +01:00
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text DEV: Add support for aliases in HighlightJS languages (#20380) 2023-02-23 15:06:06 -05:00
select-kit DEV: Apply form template to categories (#20337) 2023-02-23 11:18:14 -08:00
truth-helpers Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
wizard Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00
.licensee.json DEV: Have licensee check xmldom license (#18840) 2022-11-02 11:51:11 -04:00
.npmrc
discourse-js-processor.js DEV: Introduce minification and source maps for Theme JS (#18646) 2022-10-18 18:20:10 +01:00
handlebars-shim.js
package.json DEV: Make dialog-holder a monorepo package (#19051) 2022-11-16 16:43:45 +01:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FEATURE: Enable service worker for Apple devices (#19643) 2023-01-30 13:23:19 -03:00
yarn.lock Build(deps): Bump ember-auto-import in /app/assets/javascripts (#20419) 2023-02-22 23:38:32 +01:00