Extension namespace in Markdown spec

22 views
Skip to first unread message

Raymond Rishty

unread,
Jun 1, 2016, 5:48:11 PM6/1/16
to concordion-dev
Hi,
I've occasionally used the Embed Extension in my (html-based) specifications in the past.
I'm now trying out the markdown-based specs (which are great, by the way), and not sure how to reference the extension in the spec. In HTML, I would declare the namespace like 
xmlns:ext="urn:concordion-extensions:2010"

and then use the extension with
<span ext:embed="..." />

It's not clear (to me) how achieve the similar effect with the markdown syntax. Any help would be appreciated

Thanks

Nigel Charman

unread,
Jun 1, 2016, 6:01:34 PM6/1/16
to concord...@googlegroups.com
Glad you're liking the markdown-based specs :)

The new ConcordionOptions annotation allows you to add a namespace to the Markdown spec. For sample code and markdown spec using the embed command, see this thread.

I've also raised an issue to make this clearer in the documentation.

cheers
--
You received this message because you are subscribed to the Google Groups "concordion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion-de...@googlegroups.com.
To post to this group, send email to concord...@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion-dev.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion-dev/7868a9e7-f3b3-46a9-a781-d97c14889b8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raymond Rishty

unread,
Jun 1, 2016, 7:38:07 PM6/1/16
to Nigel Charman, concord...@googlegroups.com
Perfect, thanks so much. That did the trick
Reply all
Reply to author
Forward
0 new messages