tag:support.markedapp.com,2011-09-11:/discussions/suggestions/1609-print-header-and-footer-variablesMarked: Discussion 2017-06-16T22:21:12Ztag:support.markedapp.com,2011-09-11:Comment/307661542013-12-26T12:23:43Z2013-12-26T12:23:43ZPrint header and footer variables<div><p>I think it would be more flexible (and easier to fit in the
interface)<br>
if I provided a dropdown for selecting from various date/time
formats. I<br>
<em>may</em> choose to provide a field for an strftime string, but
I think 4 or<br>
5 format choices would probably do the trick.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542013-12-26T12:31:32Z2013-12-26T12:31:34ZPrint header and footer variables<div><p>Thanks for the fast response Brett. If you <em>could</em> have a
box for a strftime format that would be fantastic.</p></div>John Purnelltag:support.markedapp.com,2011-09-11:Comment/307661542013-12-26T21:52:43Z2013-12-26T21:52:43ZPrint header and footer variables<div><p>Done. It'll be in the next update.</p>
<p><img src="http://ckyp.us/XqPy+" alt=""></p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542013-12-26T22:45:50Z2013-12-26T22:45:53ZPrint header and footer variables<div><p>Awesome, Brett!<br>
On a side note: in your screenshot I spotted a %md_[...] variable
-- do I assume right that that's gonna be the way to access all the
MultiMarkdown meta variables?<br>
Because I <em>really</em> want to have access to the Author meta
tag.</p>
<p>And a little other thing: could you maybe make a checkbox for
"Don't print header/footer on the first page"? That would help a
lot, too. :-)</p>
<p>Thx so much!<br>
Stefan.</p></div>metawopstag:support.markedapp.com,2011-09-11:Comment/307661542013-12-26T22:59:14Z2013-12-26T22:59:14ZPrint header and footer variables<div><p>That's already there. Just use %md_author.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542013-12-27T08:39:48Z2013-12-27T08:39:49ZPrint header and footer variables<div><p>Many thanks Brett. Awesome!!</p></div>John Purnelltag:support.markedapp.com,2011-09-11:Comment/307661542013-12-29T00:49:10Z2013-12-29T00:49:12ZPrint header and footer variables<div><p>This a bug? See screenshot. Entered a comma into a footer field
between two MMD variables but it didn't get printed in the PDF
… :-(</p></div>metawopstag:support.markedapp.com,2011-09-11:Comment/307661542013-12-29T02:06:31Z2013-12-29T02:06:31ZPrint header and footer variables<div><p>I suppose it's a bug, but in the interest of catching all
metadata keys I capture everything that's not a space after md_.
Apparently MMD doesn't, though, so I'll take a look at that.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542017-03-01T10:06:07Z2017-03-01T10:06:09ZPrint header and footer variables<div><p>When I set the date format to <code>%e %B %Y</code>, I would
expect to see the name of the month in my local language (as per
<a href="http://php.net/manual/en/function.strftime.php">http://php.net/manual/en/function.strftime.php</a>).
However, the month is always shown in the English language. Is this
a bug or did I overlook something?</p></div>Franktag:support.markedapp.com,2011-09-11:Comment/307661542017-03-01T17:40:37Z2017-03-01T17:40:37ZPrint header and footer variables<div><p>The JavaScript library Marked uses for strftime formatting is
apparently<br>
not internationalized. I can fix this, though. Thanks for the
report.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542017-03-01T19:18:45Z2017-03-01T19:18:45ZPrint header and footer variables<div><p>FYI, I've fixed this for the next update (I think).</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542017-03-06T10:00:56Z2017-03-06T10:00:58ZPrint header and footer variables<div><p>Thanks!</p></div>Franktag:support.markedapp.com,2011-09-11:Comment/307661542017-05-11T12:04:45Z2017-05-11T12:04:46ZPrint header and footer variables<div><p>Hi Brett,</p>
<p>Two things :</p>
<ol>
<li>
<p>I'd love to have two checkboxes for Headers and Footers Export preferences :</p>
<p>[ ] Print header on first page [ ] Print footer on first page</p>
</li>
<li>
<p>I have the same problem with month being in english. Any time frame for the release of the upcoming update with the internationalized library ?</p>
</li>
</ol>
<p>Thanks.</p></div>mantoine.mactag:support.markedapp.com,2011-09-11:Comment/307661542017-05-11T15:47:41Z2017-05-11T15:47:41ZPrint header and footer variables<div><p>I'm trying to get the next update out next week, if all goes well.</p>
<p>I'll think about splitting the header/footer on first page option, but<br>
it won't make it into this next release. Can you tell me what the use<br>
case for that feature would be for you?</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/307661542017-06-16T22:21:10Z2017-06-16T22:21:10ZPrint header and footer variables<div><p>Brett, I can think of the following use cases:</p>
<ul>
<li>With a short text of e.g. two pages, header and footer shall be printed on each page</li>
<li>Creating a longer text with a dedicated title page, the header shall not be printed on the first page</li>
</ul>
<p>I would appreciate that option.</p></div>Steinthal