Hi,
I'm stuck in a little problem. I'd like to include some Markdown
documents into a html document via persistent includes. Each time I
update the document, the Markdown file should be parsed do deliver the
updated html. Well, that's the theory ...
I know BBEdit can execute scripts when including other files. But I'm
not getting it right. So far I have done the following:
1) All files (including Markdown.pl) are in the appropriate includes
folder of the site in question.
2) I put a persistent include in the parent (html) document:
<!-- #bbinclude "mycontent.markdown" -->
<!-- end bbinclude -->
3) In the included file I have:
<!-- #bbinclude "Markdown.pl" -->
# test header
- test list item 1
- test list item 2
- test list item 3
<!-- end bbinclude -->
I assumed that the Markdown call had to be in the included file as the
manual says (p. 383) that the file processed during an include
operation is given as an argument to the script called. But if I
update the parent document the content of the parent document ist sent
to the Markdown parser (giving me a <p></p> for an empty paragraph)
Has anyone a hint how to specify the arguments in a proper way so that
the included content file is sent to the parser?
Thanks in advance
Roland
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or
confirmed) problem with the software, please email to "[EMAIL PROTECTED]"
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---