Skip to content
Permalink
Branch: master
Commits on Apr 15, 2019
  1. Add support of language aliases in highlight.js plugin (#3898)

    talha131 authored and Jermolene committed Apr 15, 2019
    listLanguages() returns a list of supported languages. It does not
    return language aliases.
    
    highlight.js has extensive support of language aliases which can be 
    viewed here
    
    https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases
    
    But because of using listLanguages(), TW does not take advantage of 
    alias.
    
    getLanguage() method on the other hand supports aliases.
    
    https://highlightjs.readthedocs.io/en/latest/api.html#getlanguage-name
    
    To summarize, now user can use javascript, js or jsx for the code block. getLanguage() will return an object which means highlight.js supports
    this language.
Commits on Jul 19, 2018
  1. Add <select> color setting to the palette (#3360)

    talha131 authored and Jermolene committed Jul 19, 2018
    * Add <select> color setting to the palette
    
    * Signing the CLA
You can’t perform that action at this time.