"Wrapping" output HTML with a template?

Rob's Avatar

Rob

07 Jul, 2014 11:42 PM

How would one go about wrapping output HTML into a pre-defined template?

I think what I'm looking for is something similar to VoodooPad's output to HTML feature where you can specify a template and the content of the "page" appears wherever you put $page$.

Would this be some sort of post-processor applied to the output?

Thanks and sorry for the noob question!

Rob

  1. Support Staff 1 Posted by Brett on 08 Jul, 2014 02:30 PM

    Brett's Avatar

    Marked is not currently designed to be a website generator like
    VoodooPad is. You can get just the HTML for a document using Copy HTML
    and then paste it into whatever shell you want, but it can't be
    automated. Marked's full HTML output is intended to be a standalone file
    and includes all of the CSS and JS needed to accomplish that.

    -Brett

  2. 2 Posted by rob on 09 Jul, 2014 03:46 AM

    rob's Avatar

    Thanks for clearing that up Brett.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac