Support » Plugin: Enlighter - Customizable Syntax Highlighter » Should i prettify the code first?

  • Resolved roeeyossef

    (@roeeyossef)


    Hi Guys,

    I’me using the plugin on a custom wp theme to show JSON code. It looks great on the frontend when i add a prettified JSON to the backend, but if i add a minified JSON it looks bad as it is minified on the frontend as well.

    Should i expect the plugin to show it correctly although i add a minified code or i do something not correctly?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Hi roeeyossef,

    EnlighterJS is a Syntax Highlighternot an IDE which includes language specific AST rules to parse/format the code!

    it’s designed to copy+paste the code from your existing IDE into your blog

    best regards, Andi

    appreciate the quick respnose. Thanks!

    • This reply was modified 5 months, 2 weeks ago by  roeeyossef.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.