so far it is the only page number in the right bottom as the footer for each slide.
I would like to add
You can put whatever you want in the footer like so:
layout: true
<div class="my-footer"><img src="../../share/images/logo_tiny.png" style="height: 30px;"/>© 2011 - 2017 MyCo, Inc.</div>
But I think you want more programmatical things.
no, I think it is good enough for, can you show me the complete sample for this? (i just put your line in my slides, it doesn't work)
<textarea id="source">
layout: true
<div class="my-footer"><img src="../../share/images/logo_tiny.png" style="height: 30px;"/>© 2011 - 2017 MyCo, Inc.</div>
---
<slide 1>
---
<slide 2>
@larrycai Be aware that some kind of footer may result in lowered the H1 title element. See #402.
Your sample works, but I still have no clue how to mix this into my slides, see http://www.larrycaiyu.com/codingwithme-k8s/slides.html (real file is slides.md)
I want to have footer in all slides except the first and last one.
I already had layout: true and layout: false
I tried
layout: false, and adding first page is not my intension.layout: slide, but it doesn't workI use a special class to hide the footer on pages I don't want it
.hidefooter div.remark-slide-number, .hidefooter div.percona-footer {
display: none;
}
class: hidefooter
@szpak Yes, I get same faults as I put the following segment
---
layout: true
<div class="footer-version">v1.0-20171030</div>
In the html, it will not get the correct <h1>
<div class="remark-slide-content hljs-monokai">
<div class="footer-version">v1.0-20171030</div>
# Environment
@utdrmac Yes, I got it to disable the page number in first and last page
will figure out how to place the footer in main pages if #402 bug exists
Ok, hacked work around solution, see https://github.com/larrycai/codingwithme-k8s/commit/940341a561f37463aabfa61778f0e25302eb95eb
Use image in footer
.footer-version {
background-image: url(image/version.svg);
background-size: 10%;
background-repeat: no-repeat;
background-position: 5% 98%;
}
And use class foot-version in slide
---
layout: true
class: footer-version
Then it looks as I expected.
Using svg format, so I can manually change the version.svg in file directly, see
+ style="font-style:normal;font-variant:normal;...;">v1.0-20171030</tspan></text>
Again, thank a lot for @utdrmac @szpak