Remarks in code blocks are rendered as header
Remarks within a code block is rendered as header, for example:
main() {
int a=0;
# remark
int b=1;
}
Is rendered as two code blocks divided by a header with the text "remark". This should all be one code block. No parsing should be done inside a code block.
NB. Apparently it works correctly here but not in our tickets.
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
1 Posted by Nicole on 06 Nov, 2013 02:53 PM
Remko -
Can you link to the ticket where your code block didn't behave as expected? We'll take a look.
Thanks,
Nicole
2 Posted by Remko Catersels on 06 Nov, 2013 05:12 PM
This is one:
https://trackconcepts.lighthouseapp.com/projects/114424/tickets/20-server-status-en-server-info
3 Posted by Nicole on 06 Nov, 2013 05:24 PM
Can you give us a screenshot of https://trackconcepts.lighthouseapp.com/projects/114424/tickets/20-... and indicate which part isn't displaying as expected?
Thanks,
Nicole
4 Posted by Julien on 06 Nov, 2013 05:27 PM
Hi Remko,
Code blocks need spaces around them. Ie, do:
Rather than:
Then you won't have any problems. You can also use the 4 spaces syntax (again with new lines around).
Let me know how that goes.
Cheers!
5 Posted by Remko Catersels on 07 Nov, 2013 10:03 AM
On Wed, November 6, 2013 18:28, Julien wrote:
That seems to do the trick.
Nicole closed this discussion on 07 Nov, 2013 05:04 PM.