Code in tickets

Jaap Oostinjen's Avatar

Jaap Oostinjen

25 Apr, 2013 12:44 PM

Is it possible to show code in tickets.
Especially javascript?
I had a conversation with a client and had to show him which ad-code we embedded. The script tag is thrown off.
Probably to avoid (of course) cross-scripting, but using or

doesn't work either.

Best,

Jaap

  1. 1 Posted by Nicole on 25 Apr, 2013 01:50 PM

    Nicole's Avatar

    Jaap -

    Lighthouse tickets use Markdown. You can embed inline code by wrapping the text around backticks "`". Example:

    some text: `var test = true;`
    

    will render:

    some text: var test = true;

    For larger blocks of code you can either wrap it in @@@ (placed on their own line at top and bottom of code) or you can render code blocks by indenting each line of code with four spaces.

    Thanks,
    Nicole

  2. Nicole closed this discussion on 25 Apr, 2013 01:50 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac