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

Feature request: export from outline, and/or nested inclusions #43

Open
anthrolisp opened this issue Jun 25, 2021 · 1 comment
Open
Milestone

Comments

@anthrolisp
Copy link

anthrolisp commented Jun 25, 2021

Is it possible be able to export a document from a nested markdown outline of inclusions ![[page(n)]] so that it removes the indentations before exporting? That way I can order different pages as sections of a single manuscript for compilation?

  • [[page_1]]
    • [[page_4]]
  • [[page_5]]
    • [[page_2]]
      • [[page_3]]
        • [[page_8]]
    • [[page_7]]
  • [[page_6]]

And/Or

Be able to include in an export an inclusion on a page that I am including. For example in a page I exporting [[page_1]], include "![[page_2]]" where that page include another "![[page_3]]

The first option would allow for compilation of document organized with the outliner plugin, creating functionality like Scrivener!

Thank you in advance!

@OliverBalfour
Copy link
Owner

That's a cool feature idea!

Currently one workaround is:

  • Open the markdown file in a code editor like VSCode
  • Put the cursor at the start of the first line
  • Use Alt+Shift+Down (in VSCode on Linux at least) to put a cursor at the start of every line
  • Use Ctrl+Shift+Right to select everything up to the - bullets
  • Press backspace, delete the space to the right, and type ! to add one to every line

Here's a screen recording:

simplescreenrecorder-2021-06-26_09.36.57.mp4

However, I realise this is a hassle if you don't use an editor much / want to restructure again after exporting. I'll strongly consider adding this feature in the next few months (but stuff like citations takes priority for now).

@OliverBalfour OliverBalfour added this to the 0.3.0 milestone Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants