This should be possible to fix with a Lua filter. If, as is likely, Pandoc's org reader converts the org asides into divs with a class "aside" a filter can "catch" those divs and insert the necessary raw HTML before and after their content. I have attached a filter which should do the trick if the Pandoc internal document data created by the org reader are as I think they are. Usage instructions can be found at the top of the file.
Please let me know if this solves your problem. Quite likely you will get blank lines between the opening and closing aside tags and the text between them, but those should be harmless.

Den ons 16 okt. 2019 02:11Devin Prater <r.d.t.prater-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
Hi all. I’m attempting to move from org-mode exported HTML in Moodle courses I manage to simple, easily updated markdown, which I hope will be as powerful to write as Org-mode. Moodle, for some reason, uses PHP Markdown, instead of Pandoc Markdown or even Multi-markdown. So, we do have definition lists, thankfully, but the <aside> element is made, from Org-mode, to the <div> with simply the class of aside, markdown =“1”. The only problem is, screen readers, which is why I use <aside> anyway, for blind people like myself to know that something is a note. This helps audit-orally separate notes from the main text, and probably does something visual too. I’d like this to simply be <aside markdown=“1”>
Input:

* Test of aside conversion to Markdown
This is a paragraph.

#+begin_aside
This is a /note/.
#+end_aside
End of test.

Output:

Test of aside conversion to Markdown {#test-of-aside-conversion-to-markdown}
====================================

This is a paragraph.

<div class="aside" markdown="1">

This is a *note*.

</div>

End of test.


I hope this makes sense. I’m not a programmer, just the one in a million blind person that actually cares about formatting.

--
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@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/F995005F-67D2-4F84-961B-E9A4E9778219%40gmail.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuTgZCtpd5fNVBOR5ZaYF4G6jowF_9k2igOLq8nDM%3DhFCg%40mail.gmail.com.