code block

  1. MillhioreBT

    Error when pasting code in post editor

    I've had this problem with the post-thread editor for quite some time now, I don't know why no one has talked about it or have they? What happens is the following: Open a block of code Copy some well-formatted code with its corresponding line breaks Paste in the code block Expected result: The...
  2. Nocturne

    XF 2.1 Custom Code Block Formatting - How?

    Hello! I run a large programming forum and we're using Xenforo 2.1. The ability to format and colour code from different languages in posts is great, but I'd like to expand the available list to include other languages and correctly format them. However I can find no information on how this...
  3. Anomandaris

    XF 2.0 Code Block syntax highlighting dark theme

    Syntax Highlighting in XF2 uses PrismJS, there are several themes for it available @ https://github.com/PrismJS/prism-themes I'm a nub, but from what I can see, there is no simple way to import these into XF2 because of how PrismJS is implemented, not as simple as shown in the link above: <link...
Top Bottom