Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Runar Løseth 3 posts 73 karma points
    3 days ago
    Runar Løseth

    I'm trying to add some code examples via the Umbraco Markdown editor, but having some trouble with formatting. All the code that is rendered is rendered on a single line. The markdown in question comes from a github repo and is programatically added to Umbraco. In github the code displays just fine, same for any other online markdown parser I can find. Is there anything different in syntax in the Umbraco editor I'm not aware of? vs Umbraco:

    image 1: Github code example

    image 2: Umbraco code example

    The full code example that is added to the markdown editor:

    { "resourceType": "xxx", "id": "xxx", "meta": { "extension": [ { "url": "xxx", "valueReference": { "reference": "xxx", "display": "xxx" } } ], "versionId": "xxx", "lastUpdated": "xxx" }, "identifier": [ { "system": "xxx", "value": "xxx" } ], "status": "xxx", "intent": "xxx", "category": [ { "coding": [ { "system": "xxx", "code": "xxx", "display": "xxx" } ] } ] }

    Ironically it works here...

Please Sign in or register to post replies

Write your reply to: