Download URLs for old versions in the Changelog?
Hi! I've been using Marked2 for years to write books for leanpub. Unfortunately Version 2.5.18 (952) has some serious regressions where Leanpub formatting does not work in many ways.
I should open a separate thread outlining how it breaks, but in the meantime, is there a way to download any old version of Marked2?
For example, I've found URLs on the forum for:
http://abyss.designheresy.com/marked/marked2.2825.zip and
http://abyss.designheresy.com/marked/marked2.4.11895.zip
but the URL scheme doesn't seem to generalize to any other versions.
Is there a way I can get access to specific older versions of Marked2?
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
Support Staff 1 Posted by Brett on 06 Aug, 2018 06:27 PM
Hi Nate,
It would be far preferable to me to work to fix the issues you're
seeing. Can you elaborate?
-Brett
2 Posted by nate on 07 Aug, 2018 05:41 PM
Sure thing, the main issue is that the Leanpub formatting of curly-brace codeblocks is broken in version 2.5.19 (953). For example, a syntax of:
{lang=text,line-numbers=off}
1. Do step one
2. Do step two
Does not render as a code block.
Additionally, the syntax of:
{lang=javascript}
<<(code/src/my-file.js)
is also no longer working. (Leanpub syntax is checked on in settings.)
I love this app and both of these things used to work, so I assume it's just a bug.
Support Staff 3 Posted by Brett on 08 Aug, 2018 12:11 PM
I'm guessing that my attempts to support more of Leanpub's bracket codes
backfired. Previously I just stripped out all of the unrecognized curly
bracket directives, which then allowed it to function as plain Markdown.
I'll revert that for now and get a new update out asap.
Support Staff 4 Posted by Brett on 08 Aug, 2018 12:20 PM
Actually, I just tested both of these syntaxes and they worked fine.
Leanpub formatting is only triggered when the file being compiled is the
index (Book.txt) file. Are you loading an individual included file
instead of the index?
-Brett
5 Posted by nate on 09 Aug, 2018 04:19 PM
Yes, that's correct -- I'm loading an individual Markdown file that contains this syntax.
We do it this way because we don't keep our entire book in a single file (Book.txt), instead we only list the names of our chapters (that is, a list of markdown files) in Book.txt.
For example, I expect the attached markdown to render with code blocks (it did in earlier versions). However, it renders without code blocks (screenshot attached).
Thank you!
Support Staff 6 Posted by Brett on 09 Aug, 2018 06:01 PM
Thanks for the report on this. I've changed it back to the previous
behavior: if Leanpub support is enabled, it will work in any file, not
just when the index is displayed. Update will be released soon.
-Brett
7 Posted by nate on 09 Aug, 2018 07:36 PM
Fantastic! Thank you!