• * Very few syntax colors. I’m using Python. Built-in functions are black; variables are grey; comments are grayer, only the strings had some color. 4 colors in total: Black, Grey, Green, Red

    * No settings to customize themes. Only one built-in theme.

    * Couldn’t highlight the bash commands at all.

    * If I want to use line numbers, then I have to go through each of the code blocks and turn on the line number option, which is weird.

    * Missing the most common functionality, which is a COPY code option for viewers in a code block.

    * The only good thing I found is that it’s lightweight and AMP compatible. The ONLY plugin that automatically supports (very basic) syntax highlighting.

    Looking for these features. Deactivated the plugin for now, but will soon check if these features are added or not.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Sorry, I didn’t see your support topic opened.

    * Very few syntax colors. I’m using Python. Built-in functions are black; variables are grey; comments are grayer, only the strings had some color. 4 colors in total: Black, Grey, Green, Red

    * No settings to customize themes. Only one built-in theme.

    The color theme can be changed in the Colors section of the Customizer.

    * Couldn’t highlight the bash commands at all.

    This appears to be an issue with the underlying highlight.js language definition which is used by highlight.php. What is the code you’re trying to highlight?

    * If I want to use line numbers, then I have to go through each of the code blocks and turn on the line number option, which is weird.

    There is advanced information usage here where you can set defaults: https://github.com/westonruter/syntax-highlighting-code-block/wiki

    * Missing the most common functionality, which is a COPY code option for viewers in a code block.

    Easy enough for a user to select the text to copy. Nevertheless, I don’t believe that Clipboard API is currently exposed in WorkerDOM so it’s not available to use in amp-script.

Viewing 1 replies (of 1 total)
  • The topic ‘Missing lots of features’ is closed to new replies.