You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this! It works especially well with FoldingText, a MarkDown outline program for OS X. The problem, however, is that the MD file has to be copied and pasted within the HTML file. Is there some way to modify this app so that it would work with an external MD file? I thought a PHP include command might do the trick, but right now the script has the MD file inside a comment so PHP doesn't work in there. Any ideas?
Also, instead of separating slides with dashes, I'd like to modify the script so that any H1 or H2 header (lines starting with # or ## in MD) would start a new slide. This will make it easier to update MD outline files without having to add separators.
Thanks for this great script!
The text was updated successfully, but these errors were encountered:
The markdown doesn't have to be in comments. If you take out the comment delimiters does that help? Also, I have since created yet another presentation tool that takes an external markdown file instead. https://github.com/airportyh/Preston
Hmm. I spent some time on this today and I simply couldn't get it to work. I really need it to work in a local folder not via HTTP, and it is likely that computers i use won't be configured to use PHP, so I probably need the include command to run via javascript (which I don't know). I spent some time googling solutions, but I couldn't figure it out...
Sorry, but there isn't a solution that will work across different browsers for local files (due to cross domain restriction) - it must be http. With php include, it is possible.
I love this! It works especially well with FoldingText, a MarkDown outline program for OS X. The problem, however, is that the MD file has to be copied and pasted within the HTML file. Is there some way to modify this app so that it would work with an external MD file? I thought a PHP include command might do the trick, but right now the script has the MD file inside a comment so PHP doesn't work in there. Any ideas?
Also, instead of separating slides with dashes, I'd like to modify the script so that any H1 or H2 header (lines starting with # or ## in MD) would start a new slide. This will make it easier to update MD outline files without having to add separators.
Thanks for this great script!
The text was updated successfully, but these errors were encountered: