Comments (3)
And please try this when you want the page number in bottom center of the slide:
---
theme: gaia
paginate: true
style: |
section::after {
left: 0;
right: 0;
text-align: center;
}
---
Marp Web (https://web.marp.app) is useful for debugging your style in browser's web developer tool.
from marp-core.
It's not exactly same as uncover theme but following style is helpful.
---
theme: gaia
paginate: true
style: |
section::after {
/* Layout of pagination content */
box-sizing: border-box;
text-align: right;
width: 120px;
height: 120px;
line-height: 120px;
padding: 20px;
/* Triangle background */
background: linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 50%, transparent 50%);
background-size: cover;
}
---
Also refer to source of theme in marp-core repository.
Lines 14 to 25 in 6c976ae
from marp-core.
It works, thank you 👍
from marp-core.
Related Issues (20)
- Content overlap with header and footer in included themes HOT 2
- Emoji Rendering Discrepancy Between Inline and Block Elements HOT 1
- Usage or marp-core in browser context HOT 2
- Emoji plugin: Allow using other emoji vendors HOT 3
- [bug] import failure `i is not a function` HOT 5
- Trouble rendering HTML and Markdown in the same line HOT 1
- A Marp constructor option, emoji.twemoji.base, seems not working HOT 1
- Overriding hljs-attr color does not work HOT 2
- [Regression] Auto-scaling for KaTeX block is always enable regardless of `@auto-scaling` theme metadata
- TypeError: u2 is not a function HOT 7
- Nanoid error HOT 4
- Images gallery HOT 1
- per-element animations HOT 2
- How to create, publish and use a theme? HOT 1
- Enable support for HTML code snippets by default HOT 2
- Add support for hgroup HOT 2
- Code block in HTML presentation issues Uncaught DOMException: Operation is not supported HOT 3
- Transparent images broken with regular `[]()` tags but not with `[bg]()` HOT 2
- [v4] Always treat the slide container of built-in themes as block element
- Support for merge cells in tables HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marp-core.