Comments (6)
Yes, this works for my issue. It would be nice if I could simply do <!-- new_lines -->
(without an argument) for one single new line but the current implementation is totally good enough for me. Thanks for the lightning-fast reply & implementation.
from presenterm.
I'll start by saying I doubt you'll ever get a good looking slide with that combination of a gigantic terminal and 3 lines of content :P. I do acknowledge this problem though, I'm just not sure what would be the ideal way to display this. e.g. where would you add the padding? Pad the first "in fact" line down by how much, then how much padding until the title? Then how much padding after that? I don't think you can just evenly distribute them as that'll look bad in a different way IMO.
from presenterm.
This is just a toy presentation to familiarise myself with this tool. I reckon that it might be difficult to implement an automatic mechanism to place the contents but would it be possible to add a parameterized command to allow manually adding blank lines, like
<!-- new_line 2 -->
for two blank lines,
so that users can somehow control the spacing above a certain paragraph? At the moment there isn't even a way to "center" a paragraph in the vertical axis, which I find quite necessary when making slides.
from presenterm.
<!-- new_line 2 -->
Yeah I've been thinking of this, it seems very useful.
At the moment there isn't even a way to "center" a paragraph
I think I haven't documented it (and need to do that!) but there's a
<!-- jump_to_middle -->
That jumps to the vertical center. Do note that if you already wrote something there, it will look like crap. My favorite (and really the only) use for this is to do something like
blablabla
<!-- end_slide -->
<!-- jump_to_middle -->
Farming potatoes
===
<!-- end_slide -->
In order to create a nice "separator" slide that changes topics.
from presenterm.
I created #167 to introduce the new_lines
command. Does that work for you as a workaround?
from presenterm.
Alright I merged the PR. There's 2 new commands:
new_lines: <number>
(you can also usenewlines
) that adds<number>
new lines.new_line
(you can also usenewline
) that adds a single new line.
from presenterm.
Related Issues (20)
- Would you accept other catppuccin themes as a PR? HOT 1
- Remote images no longer loading HOT 2
- Presenterm does not install using cargo or AUR helper HOT 9
- Crashes when trying to user presentation mode `-p` HOT 1
- Failed to export presentation to PDF HOT 2
- [Request] Allow spawning processes inside presenterm HOT 2
- Unfindable config file HOT 1
- [Request] New line for multiple authors HOT 4
- Question: Can you set typst output width to 100%? instead of just centered? HOT 3
- Handle suspending execution when receiving SIGTSTP signal (CTRL+Z) HOT 1
- [Feature request] Skipping footer on certain slides HOT 3
- Script execution output does not render background color for tabs HOT 1
- Introduce a keymapping for quickly going through slides HOT 1
- python + other languages execution is possible! HOT 20
- Unfinished code execution reports as `[finished with error]` HOT 6
- feat: Show `stderr` output from code execution
- Code execution output alignment issue HOT 1
- Is there any way to add support for scaling images? HOT 7
- idea: allow customizing the code highlighting theme HOT 4
- Support for multiple Authors HOT 2
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 presenterm.