• Resolved Eduard Doloc

    (@rwky)


    Hello,

    I know that your plugin allows markdown render of a page, but is there a way to add that into the header?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mescio

    (@vinsmach)

    Yes — from 1.7.2 each post/page advertises its Markdown copy in the HTML <head> and as an HTTP Link header:

    <link rel="alternate" type="text/markdown" href="https://yoursite.com/wp-json/mescio-for-agents/v1/markdown?id=ID" title="Markdown">

    A plain GET on that URL returns Markdown; no Accept header needed. Please update to 1.7.2, then view source on any page and look for rel="alternate".

    Thread Starter Eduard Doloc

    (@rwky)

    great, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.