Strapdown on 'complex' bootstrap pages

Issue #3 resolved
Adamos Kyriakou created an issue

Thank for picking up StrapDown, it is really a beautiful project and it makes it so easy to go from pure text to instant Bootstrap. Brilliant! I'm personally using it with Python and Jinja2 to automatically build a site from a small number of templates and pure-markdown source files.

Quick question though: Have you tried pushing this further than the whole "put your markdown between the xmp tags and it becomes the body" paradigm? For example could it be used to put markdown in the 'collapse' plugin classes or the modal windows that come with bootstrap?

Comments (2)

  1. Lilian Besson (Naereen) repo owner

    Hi, Thanks for the return and for this proposal.


    Your project ?

    Could add here a link to your website based on StrapDown ? It could be helpful to see how others are using it.

    Jekyll > StrapDown

    You might be interested by other another project far more advanced : Jekyll (and Octopress !).


    First answer

    Anyway, to answer your question, no I haven't tried this. I'm pretty sure it could works quite well.

    HTML in the markdown xmp or textarea block

    Do you know that it is possible to use some basic HTML markup in the markdown code ? An example is this example 2 where you can use a <script> tag in the main markdown page.

    A second example is a page with MathJax enabled : example 3.


    Second answer

    But it might also not work, as StrapDown basically rewrites the entire page (it adds bootstrap style sheets to the head, and change the entire body).

    You are welcome to try, and give feedback there. (just to precise : I'm not really interested by modifying any part of the StrapDown code, so don't feel obligated to post a pushing request if you change it)


    Cheers,

    Lilian Besson

  2. Log in to comment