• Resolved cmadland

    (@cmadland)


    Trying to embed a file from github, but the plugin wont’ render the markdown as html.

    [embedGitHubContent owner=”twuonline” repo=”orientation” path=”/digital-literacy.md” markdown=”true”]

    page is at https://create.twu.ca/orientation/git/

    Embedding the README file works just fine.

    Can you help?

    • This topic was modified 7 years, 10 months ago by cmadland. Reason: subscribed to comments
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DobsonDev

    (@dobsondev)

    Hi Colin,

    The markdown parameter has to be marked “yes” not “true”, however true makes a lot of sense so I’ll add that in a future update. I have the embed working with the following:

    [embedGitHubContent owner=”twuonline” repo=”orientation” path=”/digital-literacy.md” markdown=”YES” cache_id=”0.1”]

    I had to add a Cache ID so when I refreshed it didn’t load the old version, so you might have to do the same. I recommend just making it the same as the version control number or something on the repository.

    Thread Starter cmadland

    (@cmadland)

    I was hoping that updating my github repository would automagically update the content in WP as well, but that doesn’t seem to happen without changing the cache ID.

    Am I missing something?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin won’t render MD for GitHub file’ is closed to new replies.