Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/favourhong/Awesome-Marp
🤙 Easy replacement for LaTeX Beamer! 🥂 custom Marp templates with a selection of over a dozen themes
https://github.com/favourhong/Awesome-Marp
List: Awesome-Marp
css education markdown markdown-template marp marp-template marp-themes slides themes
Last synced: 4 days ago
JSON representation
🤙 Easy replacement for LaTeX Beamer! 🥂 custom Marp templates with a selection of over a dozen themes
- Host: GitHub
- URL: https://github.com/favourhong/Awesome-Marp
- Owner: favourhong
- Created: 2023-09-23T01:21:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T02:30:39.000Z (9 months ago)
- Last Synced: 2024-05-23T04:05:00.562Z (6 months ago)
- Topics: css, education, markdown, markdown-template, marp, marp-template, marp-themes, slides, themes
- Language: HTML
- Homepage:
- Size: 179 MB
- Stars: 368
- Watchers: 2
- Forks: 37
- Open Issues: 32
-
Metadata Files:
- Readme: README-en.md
Awesome Lists containing this project
- awesome-marp - Awesome Marp - Marp theme set with many useful layouts. 🇨🇳 (Themes / Community themes)
README
[✨ README-en](https://github.com/favourhong/Awesome-Marp/blob/main/README-en.md)、[🎉 README-zh](https://github.com/favourhong/Awesome-Marp/blob/main/README.md)
## Awesome Marp: Easily replace LaTeX Beamer!
## Why `Awesome Marp`?
I haven't made a PowerPoint presentation in over two years, ever since I learned that `Marp` can use Markdown syntax to create PPTs.
The built-in native theme of `Marp` has few styles and the presentation effect is not good, so I've been trying to customize the CSS file to create a theme that meets my personal aesthetics, and this template has gained a lot of popularity among several friends while I've been working on it. So I simply shared it in the hopes that it would help you in some way~
I gave this theme a name, `Awesome Marp`, it's kind of a stage summary. The current v1.3 version provides six themes (dark, green, blue, red, purple and brown) and 38 custom styles.
First, let's take a look at a rendering~
![Awesome Marp 整体效果](./images/AwesomeMarp整体效果.gif)
What's up? If you've used `Marp`'s native theme, you'll notice that `Awesome Marp` has changed a lot. Yes, I based it on Marp's `default` theme, with a few changes.
This is a pure CSS project, all effects are implemented in CSS language. Since I don't have any front-end knowledge, I'm learning as I go, and there are still a lot of things I can do to improve and optimize the code. However, completion is more important than perfection, and some small problems can be iterated and updated later. So, I decided to put `Awesome Marp` online!
## Software you need to know
There are only three: the Markdown syntax, the Markdown editor ([Visual Studio Code](https://code.visualstudio.com)、 [Obsidian](https://obsidian.md/)) and the [Marp for VScode](https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode) plugin!
- Markdown
- Markdown editors (e.g. VS Code, Obsidian)
- Marp
## A few features of `Awesome Marp`
- Supports 8 types of **page columns**: 2-column 5/5, 2-column 6/4, 2-column 7/3, 2-column 4/6, 2-column 3/7, 3-column 3/3,2-rows.
![4种页面分栏的呈现效果](./images/页面分栏.gif)
- Support 6 **non-nested lists of column** styles:
![list列表分栏呈现的效果](./images/列表分栏.gif)
- Support navigation progress bar:
![导航进度栏的效果](./images/导航进度栏.gif)
- Support 5 types of cover pages:
![5种类型封面页的效果](./images/封面页.gif)
- Support 3 types of catalog pages:
![3种目录页的效果](./images/目录页.gif)
- Support 5 kinds of custom "quote boxes":
![5种自定义引用盒子的呈现效果](./images/引用盒子.gif)
- Little easter: the link automatically adds a little tail:
![链接的呈现效果](./images/链接.gif)
- It is also possible to customize the horizontal alignment of images: center, left or right.
- Horizontal center alignment of images: `! [#c](. /images/a.png)`
- Pictures are horizontally right-aligned: `! [#r](. /images/a.png)`
- Pictures are horizontally left-aligned: `! [#l](. /images/a.png)`
- ……To summarize, there are currently 38 custom styles like the one above supported in `Awesome Marp` 1.3! To use them, you just need to specify a local directive on the page, e.g. ``)
![38 种自定义样式](./images/38种自定义样式.png)
Not only that, but I've also designed 6 theme colors, and to switch between them, all you need to do is define `theme: ` in the YAML section:
![6种主题颜色](./images/6种主题颜色.png)
![轻松切换主题](./images/切换主题.gif)
## How to use `Awesome Marp`?
- How to use:
- **With VS Code**: Open the `Awesome-Marp` folder directly with VS Code.
- If you want to "use it as it is", you can just follow the Markdown source files I've shared and modify them accordingly.
- If you're not happy with some of the effects and want to fine-tune them, there are currently 6 CSS files under `Awesome-Marp/themes` that determine the final rendering of the Markdown source code, so you can try to change them!
- If you are able to customize your CSS files, don't forget to add the path to your CSS files in `Awesome-Marp/.vscode/settings.json` before rendering.
- **With Obsidian**: Install the [Marp Slides plugin](https://github.com/samuele-cozzi/obsidian-marp-slides) and configure the CSS path accordingly!
- Due to the concern of copyright infringement, you need to download the fonts and install them by yourself, the fonts used in Awesome Marp are:
- Text fonts: `Latin Modern Math', `方正宋刻本秀楷简体', if not installed, `Calibri' and `楷体' will be used by default.
- Headline fonts: `Optima LT Medium', `方正苏新诗柳楷简体', if not installed, `Arial' and `黑体' will be used by default.
- Footnote fonts: `Charm` and `叶根友毛笔行书修正版`, if not installed, `Calibri` and `楷体` will be used by default.
- Code fonts: `Fira Code` and `霞鹜文楷等宽`, if not installed, `Consolas` and `华文中宋` will be used by default.## Update Record
- `January 13, 2024` Awesome Marp v1.3
- 38 customizable styles
- Add two rows of columns, character columns, etc.
- [Awesome Marp v1.3:几处小更新~](https://mp.weixin.qq.com/s?__biz=MzkwOTE3NDExOQ==&mid=2247486869&idx=1&sn=fcc377ff6a5930436e5078a09d53f0ab&chksm=c13ff99df648708b89bafba030b27909d0022279e26da723ca54a1666fe55f50a4230f050662&scene=178&cur_album_id=3132459596339757070#rd)
- `October 16, 2023` Awesome Marp v1.2
- 30 Custom Styles
- Add footnote (1), adjust font size (4) and 5 custom styles based on v1.1.
- New free fonts
- [Awesome Marp v1.2:增加脚注、调节字体大小等样式~](https://mp.weixin.qq.com/s?__biz=MzkwOTE3NDExOQ==&mid=2247486825&idx=1&sn=56d632ce164831438ec87c1b20ed4c4c&chksm=c13ff961f64870774f069ab816340783d8f54fd6b89363b8d9412c593efc640851ce9edd8833&scene=178&cur_album_id=3132459596339757070#rd)
- `September 26, 2023` Awesome Marp v1.1
- 25 customizable styles
- Add 4 custom styles based on v1.0, including Fixed Header Row (2), Page 4-6 Columns, Page 3-7 Columns (2).
- [Awesome Marp v1.1:标题行不随正文浮动,这下更像 Beamer 了!](https://mp.weixin.qq.com/s?__biz=MzkwOTE3NDExOQ==&mid=2247486800&idx=1&sn=527348e242576079e4bd6cd1823c823a&chksm=c13ff958f648704e40a202db6ad5fa215ef4c189d66403e161d6ace9828406a8747ac755684f&scene=178&cur_album_id=3132459596339757070#rd)
- `September 24, 2023` Awesome Marp v1.0
- 21 custom styles
- [Awesome Marp v1.0:我开发了一整套 Marp 主题,Markdown 转换的 PPT 也可以很好看!](https://mp.weixin.qq.com/s?__biz=MzkwOTE3NDExOQ==&mid=2247486787&idx=1&sn=2652ddae81f50240844cb652780912e1&chksm=c13ff94bf648705da1ba986b91265e3ff018acaffcfa60d7807a81be22176005e7a2b4483627&scene=178&cur_album_id=3132459596339757070#rd)---
I hope it's helpful to you, welcome to exchange ~
It is not easy to create, buy me a coffee 🤙~