On Sunday, March 17, 2013 11:33:41 PM UTC-6, fiddlosopher wrote:
+++ John MacFarlane [Mar 17 13 21:01 ]:
> I've added an opml branch on github that does the basics.
>
> I still haven't added support for a _note attribute, because
> I'm not sure I understand how it is to be interpreted.
>
> The content of the attribute is a string.  But what format?
> HTML? Markdown? Is there any standard for this?

Multimarkdown just seems to put raw markdown inside the _note
attribute.  But it seems to me that encoded HTML would be a
better choice, since the spec is explicit about allowing that
in the text attribute.

(Of course, it would be converted to markdown in an opml ->
markdown conversion.)


I think the idea for MMD was so that for apps that supported the attribute, you could edit (or create) the note (which contains the content of a section) in Markdown format rather than HTML in whatever app you opened or imported the OPML file in. This seems to be a sensible thing. Perhaps it would be easy enough to look at the first characters in the note to tell if it is HTML or plain text.

-Ryan

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msg/pandoc-discuss/-/KbJvrx_jvXsJ.
For more options, visit https://groups.google.com/groups/opt_out.