Comments (4)
I was wondering nearly the same reading the mentioned conversation, so a big +1 for a Macro system refactoring. At the time I wrote it, I didn't expect landslide to become what it is now ;)
I like very much the refactoring approach you describe, so you got a big +1 here. My only concerns is backward compatibility and QA, so we should ensure to have sufficient tests to ensure we won't break everything for existing presentations :)
from landslide.
I like this idea as well. I just merged BestFriendChris' presenter view branch, and now I'll be working on the new macro system.
How should we go about including new macros into the rendering of a slideshow? If there's not much overhead, we may as well parse for every macro landslide has (QR codes and all). I do not want a user of landslide to have to touch to the code to enable a macro we ship with.
n1k0, we talked about about not including the QR macro as default...as we rethink the macro system, how should the user enable it? Or do you also think it should be enabled automatically?
from landslide.
I think there are 2 things we could do related to choosing macros:
- Move all the optional macros (like QR) to the themes directory (as per issue #45). If you don't what a particular macro, you could just make your own theme.
- Add another setting to the config file that is a list of macro files to load.
Either one would also solve the other goal I have: be able to write new macros without having to commit to the landslide codebase
from landslide.
The more I think about landslide the more I can't imaging working with it without a config file. Adding a new setting with the list of macro to load would just be the way to go imho, while I can't really imagine passing the macro names in some command line option…
Last, +1000 for allowing the use of any macro which comply to the standard interface, wherever they are.
from landslide.
Related Issues (20)
- error: no such option: -m HOT 2
- Error: markdown() takes exactly 1 argument (2 given) HOT 8
- Creating a "title slide" leads to an RST syntax error
- Wish: Support for background images? HOT 1
- Wish: --paginate makes one html per page
- Error: path is on mount 'c:', start on mount 'D:' HOT 2
- Leapmotion leap.js seems to be gone HOT 4
- Automatic transitions HOT 1
- Mathjax improves and TOC issues. HOT 1
- How can I signature my name on the first slide? HOT 2
- reStructuredText slide-wide class/style
- "Here's an example." link in README.md seems dead HOT 5
- PDF conversion: support using weasyprint instead of PrinceXML
- look forward to supporting the Mermaid in the near future. HOT 2
- Fail to lauch--ImportError: cannot import name 'soft_unicode' from 'markupsafe' HOT 3
- Python v3.10? HOT 15
- default theme: does not work with browser history
- Works fine locally but not on Github Pages? HOT 2
- selectable aspect ratio HOT 2
- monospace block and bullets on the same slide HOT 1
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 landslide.