Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split single presentation in multiple markdown files? #27

Open
Ezwen opened this issue Apr 24, 2018 · 4 comments
Open

Split single presentation in multiple markdown files? #27

Ezwen opened this issue Apr 24, 2018 · 4 comments

Comments

@Ezwen
Copy link

Ezwen commented Apr 24, 2018

At the moment one entire presentation must be defined in a unique .md file.

Could we imagine a feature to split the content of a presentation in multiple .md files that would get automatically merged when doing serve or export?

thanks again for backslide, i'm really loving it so far

@sinedied
Copy link
Owner

It would not be too hard to use a preprocessor for that, but why would you want to split each slide in a different file?

@Ezwen
Copy link
Author

Ezwen commented Apr 24, 2018

I would not go as far as splitting each slide in a separate file, but I would really enjoy having each "part" of a presentation in a different file, especially for long talks (~40 slides).

I tend to lose myself in my markdown code when searching for a specific slide, so if I could first open the file corresponding to the part containing the slide, then look for the slide in this subset, that would make my life easier :)

But if such a workflow is too specific to my individual case, I would fully understand that you would rather not consider having such a feature.

@sinedied
Copy link
Owner

Ok, I understand now 😄
I don't think it would be too difficult to have a preprocessor grouping files following a naming scheme like file-1.md file-2.md etc into a single one, I'm currently low on free time to implement this but I would gladly accept a PR.

I'm working on a complete rewrite of the tool (branch feature/refactor) to make preprocessor/transformers more easy to write, and even at some point support plugins, that may help in the future.

@jronallo
Copy link

👍 for preprocessors/transformers. I'd be interested in being able to use shortcodes and templates to minimize some of the markup I need to include in markdown files to get different layouts. Adding the ability to preprocess those would allow me to make my slide decks more readable.

In the past I've broken up long slide decks into separate markdown files. It can be especially helpful during that drafting stage. Since then I've found that using an editor that has an outline to the side has minimized my need for such a feature, though it would still be useful at times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants