eBook theme (style) for Marked

Phil Davis's Avatar

Phil Davis

02 Jul, 2013 05:19 PM

In a recent discussion on the Multimarkdown google group several people mentioned using a theme called "eBook" in Marked. I'm running the latest version of Marked (1.4.3) but it doesn't have the theme. I've been unable to find it using various search strategies.

Does such a theme exist and, if so, where could I get it?

Am looking forward to version 1.5!

  1. Support Staff 1 Posted by Brett on 02 Jul, 2013 05:24 PM

    Brett's Avatar

    I've never seen an eBook theme. If you find it, let me know. We do have a "Manuscript" theme [in progress][1], but it's for the writing side, not the reading side…

    [1]: http://support.markedapp.com/discussions/questions/277-a-novel-manuscript-css

  2. 2 Posted by Philip Davis on 02 Jul, 2013 05:31 PM

    Philip Davis's Avatar

    Here is a link to the discussion that mentioned this.
    https://groups.google.com/forum/#!topic/multimarkdown/1Yb1G1HfYjI

    And here is one of the specific messages. This was posted on July 1. I suspect it is a style that someone else created, but I was unable to locate it with a google search. It sure sounds interesting.

    -----

    "Actually, the mention of CSS prompts me to write a bit about what I have found, and been impressed with, in my search:

    Marked.app includes a 'style' (CSS) called 'eBook' and does some pretty cool stuff with CSS (that I didn't know possible).

    1) It does help with printing and section breaks, putting new sections and chapters on different pages (I think this is CSS and not a Marked.app feature in #3).
    2) It uses CSS 'counters' to number Sections, Chapters, Figures and Tables. Very LaTeX liked and works very well. Figure 3-1 is the first image in Chapter 3. Perfect.
    3) Marked.app includes an feature that forces <H1> and <H2> as Page Breaks (and optionally to interpret '---' <hr> as a page break).

    So...

    Pros: auto numbering, easy markup, flexible, ability to export to HTML, and reasonably formatted (page breaks) PDF. CSS is flexible so can tweak style readily.

    Cons: Single file/page HTML; links (e.g., footnotes) broken in PDF. No page numbers in PDF.

    Discovering that Marked.app and the eBooks style got me so close, I was hoping that there was an app like Marked that would interpret '---' or <hr> and force new *.html files, and handle linking. That isn't a small task, but it seems reasonably straight-forward for app/script to do (especially since Marked.app demonstrated some proof of it working already). And it would be a bonus that MMD wouldn't have to be updated since this would be handled by a separate app.

    T"

    ----------

    - Phil

  3. 3 Posted by Philip Davis on 03 Jul, 2013 11:23 AM

    Philip Davis's Avatar

    Brett

    Mystery of the eBook style solved. The writer in the discussion group was referring to Fletcher Penny's eBook style in MMDC.

    Here is his statement "Yes, sorry. Thank you for the correction. It is the eBook theme/style in MMDC. I was mixing and matching workflows and got confused."

    - Phil

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