#NUMBER in Code Block

Chris Sturgill's Avatar

Chris Sturgill

06 Jan, 2012 06:32 PM

If I have a code block like this

Look at #13

Lighthouse does what appears to be its standard regex replace and the following text appears on my page

Look at [#13](/projects/PROJECTID/tickets/13 "Ticket #13")

There doesn't seem to be any way to escape the #. Any escape characters I use appear in the actual code block:

Look at \#13
  1. 1 Posted by Nicole on 09 Jan, 2012 10:28 PM

    Nicole's Avatar

    Chris -

    A quick check shows that if you use @@@ for your code block (prior and after) it will render the code as expected without the link showing.

    Let me know if this works for you.

    Thanks,
    Nicole

  2. 2 Posted by Chris Sturgill on 10 Jan, 2012 09:32 PM

    Chris Sturgill's Avatar

    Yes, that will work. However, if you opt to use 4 spaces instead of @@@ the problem above still exists. Thanks for the help and timely reply.

  3. Nicole closed this discussion on 11 Jan, 2012 06:12 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