• Resolved bus5ojp

    (@bus5ojp)


    Hi,

    Thanks for the great plugin! I have got it working displaying snippets of code on my website, but I would like to bold certain parts of it, to make it clear to readers that these are the bits they need to edit manually once they paste the code snippeet in.

    Is there a certain piece of code I can put in so that the plugin executes the command ONLY to bold certain text and ignores/escapes everything else? At the moment is just paste in the text and doesn’t bold it.

    Thanks,
    Oliver

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hey bus5ojp, glad you like the plugin! For the bold text, I don’t think it’s a current feature, but may be possible to add in the next update. Are you using Prism.js or Highlight.js (or plain flavor)?

    Thread Starter bus5ojp

    (@bus5ojp)

    Hi,
    Just plain flavor at the moment

    Plugin Author Jeff Starr

    (@specialk)

    Yeah I use that too on my sites. There is no way to escape the strong tags with the plain format. It may be possible with either Prism or Highlight, but haven’t tried it. Most likely what would be required is an addon script. Let me know if you find something, would be glad to implement for the next update.

    Thread Starter bus5ojp

    (@bus5ojp)

    OK will do thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making the Plugin read code (bolding) only’ is closed to new replies.