markdown-like string being interpreted within code block... maybe?

Kyle's Avatar

Kyle

27 Jun, 2013 06:43 PM

I am writing SMILES strings in code blocks. Where square brackets are immediately followed by parentheses, the rendered text is red, and the HTML has <span class="malformed></span> tags. My only guess is that this is to catch URLs mistakenly put into code blocks. Is this correct behavior?

Example:

#### Dioctyl sodium sulfosuccinate
no chirality specified

    CCCCC(CC)COC(=O)CC([SO3-])C(=O)OCC(CC)CCCC

R,S,S - used in this project

    CCCC[C@H](CC)COC(=O)C[C@H]([SO3-])C(=O)OC[C@H](CC)CCCC

R,R,S - used by Abel et al.

    CCCC[C@H](CC)COC(=O)C[C@@H]([SO3-])C(=O)OC[C@H](CC)CCCC

  1. Support Staff 1 Posted by Brett on 27 Jun, 2013 06:57 PM

    Brett's Avatar

    Yes, it's assuming those were malformed links and warning the user. This feature is being removed in the next version as it causes this kind of trouble. I'm afraid I don't have an immediate workaround for the current version, though.

  2. 2 Posted by Kyle on 27 Jun, 2013 07:00 PM

    Kyle's Avatar

    It's not a problem for now. Thanks for the quick response.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screen_Shot_2013-06-27_at_2.42.25_PM.png 20.9 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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