I've [tried](http://pandoc.org/try/) converting with pretty much all of them, mostly from a mediawiki excerpt, and none produced a perfect result. I've found strict markdown to be the closest, but it's still off; the links come out empty, and — would it be too much to ask? — the footnotes are not included and formatted.

For instance, this excerpt from [Wikipedia](https://en.wikipedia.org/wiki/Democracy):

[![enter image description here][1]][1]

… comes out as:

    **Democracy** ( **, literally "rule by people"), in modern usage, has
    three senses all for a system of government where the citizens exercise
    power by [voting]. In a [direct democracy], the citizens as a whole form
    a governing body, and vote directly on each issue, e.g. on the passage
    of a particular tax law. In a [representative democracy] the citizens
    elect representatives from among themselves. These representative meet
    to form a governing body, such as a [legislature]. In a [constitutional
    democracy] the powers of the majority are exercised within the framework
    of a representative democracy, but the constitution limits the majority
    and protects the minority, usually through the enjoyment by all of
    certain individual rights, e.g. freedom of speech, or freedom of
    association.[1][2] Democracy is sometimes referred to as "rule of the
    majority".[3] Democracy is a system of processing conflicts in which
    outcomes depend on what participants do, but no single force controls
    what occurs and its outcomes.

    [1] [Oxford English Dictionary][]: *Democracy*.

    [2] 

    [3] 

      [voting]: Vote "wikilink"
      [direct democracy]: direct_democracy "wikilink"
      [representative democracy]: representative_democracy "wikilink"
      [legislature]: legislature "wikilink"
      [constitutional democracy]: constitutional_democracy "wikilink"
      [Oxford English Dictionary]: Oxford_English_Dictionary "wikilink"

… rendering as:

>**Democracy** ( **, literally "rule by people"), in modern usage, has
three senses all for a system of government where the citizens exercise
power by [voting]. In a [direct democracy], the citizens as a whole form
a governing body, and vote directly on each issue, e.g. on the passage
of a particular tax law. In a [representative democracy] the citizens
elect representatives from among themselves. These representative meet
to form a governing body, such as a [legislature]. In a [constitutional
democracy] the powers of the majority are exercised within the framework
of a representative democracy, but the constitution limits the majority
and protects the minority, usually through the enjoyment by all of
certain individual rights, e.g. freedom of speech, or freedom of
association.[1][2] Democracy is sometimes referred to as "rule of the
majority".[3] Democracy is a system of processing conflicts in which
outcomes depend on what participants do, but no single force controls
what occurs and its outcomes.
>
[1] [Oxford English Dictionary][]: *Democracy*.
>
[2] 
>
[3] 
>
  [voting]: Vote "wikilink"
  [direct democracy]: direct_democracy "wikilink"
  [representative democracy]: representative_democracy "wikilink"
  [legislature]: legislature "wikilink"
  [constitutional democracy]: constitutional_democracy "wikilink"
  [Oxford English Dictionary]: Oxford_English_Dictionary "wikilink"
>

Ideally, I'd like it to yield that:

>**Democracy** ([Greek](https://en.wikipedia.org/wiki/Greek_language): δημοκρατία *dēmokraa thetía*, literally "rule by people"), in modern usage, has three senses all for a system of government where the citizens exercise power by [voting](https://en.wikipedia.org/wiki/Vote). In a [direct democracy](https://en.wikipedia.org/wiki/Direct_democracy), the citizens as a whole form a governing body, and vote directly on each issue, e.g. on the passage of a particular tax law. In a [representative democracy](https://en.wikipedia.org/wiki/Representative_democracy) the citizens elect representatives from among themselves. These representative meet to form a governing body, such as a [legislature](https://en.wikipedia.org/wiki/Legislature). In a [constitutional democracy](https://en.wikipedia.org/wiki/Constitutional_democracy) the powers of the majority are exercised within the framework of a representative democracy, but the constitution limits the majority and protects the minority, usually through the enjoyment by all of
certain individual rights, e.g. freedom of speech, or freedom of association.<sup>1 2</sup> Democracy is sometimes referred to as "rule of the majority".<sup>3</sup> Democracy is a system of processing conflicts in which
outcomes depend on what participants do, but no single force controls
what occurs and its outcomes.
>
<sub>1. [Oxford English Dictionary](https://en.wikipedia.org/wiki/Oxford_English_Dictionary): *Democracy*.</sub>
>
<sub>2. Watkins, Frederick (1970). *Encyclopædia Britannica* (Hardcover). **7** (Expo '70 ed.). William Benton. pp. 215–223. ISBN [0-85229-135-3](https://en.wikipedia.org/wiki/Special:BookSources/0-85229-135-3).</sub>
>
<sub>3. ["Democracy – Definition of Democracy by Merriam-Webster"](http://www.merriam-webster.com/dictionary/democracy).</sub>

And I haven't even broached the topic of math notation yet!

  [1]: https://i.sstatic.net/3uBrS.png