More Markdown refinements

Got strong working, possible

## Markdown-ish
## 2015.07.06
## http://michaelpaulukonis.com/Blog/2015-07-02
## some markdown markup-like markup
## 2016.06.17
## _emphasized_
Markup('mkem', 'inline',
       '/(^|\s)_(.*?)_/',
       '$1<em>$2</em>');

## originally from http://www.pmwiki.org/wiki/Cookbook/Markdown
## markdown\markdown-inline.php
Markup('mkstrong','<mkem', '/(\*\*|__)(\w.*?)\1/', '<strong>$2</strong>');

include_once("$FarmD/cookbook/markdown/markdown-links.php");
$md_nested_brackets_depth = 1; # this fixes some problem, and probably breaks something I don't use/test-for

If you look at the original cookbook recipe Cookbook:Markdown, there is a suite of notes/test-pages included:

  • Markdown.EditQuickReference
  • Markdown.Markdown
  • Markdown.Syntax
  • Markdown.TestFile

issue with anchors

TODO: something (probably markdown-links ) is interfering with having multiple-anchors on a line.

[[#anchor]]

[[#anchor]] [[#anchors]]

[[#anchor]] [[#anchors]] [[#anotherAnchor]]

[[#anchor]] [[#anchors]] [[#anotherAnchor]] [[#fourthAnchor]]

No Spaces: [[#anchor]][[#anchors]][[#anotherAnchor]][[#fourthAnchor]]

No Spaces:

something about odd-numbers?

[[#anchor]] [[#anchors]] [[#anotherAnchor]] [[#fourthAnchor]] [[#fifthAnchor]]