Here is my in progress solution. It works well with minimal impact.
1) At top of engine.php I added the standard phpmarkdown file:
include_once "config/markdown/markdown.php";
2) Then in function BOLTgetzones($zone) around line 1011 go down to find
this line around 1084:
$out = BOLTdomarkup($out, '', $zone, '', false);
and REPLACE IT WITH:
if ( (strtolower($zone) == 'main') && (strpos($out, 'markdown:
true')) )
{
$out = Markdown($out);
}
else
{
$out = BOLTdomarkup($out, '', $zone, '', false);
}
Now in the markdown pages, I put at the top of the page:
<!---
/*
markdown: true
*/
--->
You can see my test pages here:
http://constructionqualitymanagement.com/cqm/index.php?p=main.markdown
The site is ALL boltwire except the pages under the markdown menu.
This is just proof of concept. Obviously there is much wrong with this
method, but I can get my old markdown pages up and running quickly, and
still have the search,title, and other great boltwire functions on those
pages.
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.