Indented list inlining

Use case or problem

I want to build hierarchical (check) lists from existing lists:

  • Seamless: Inlining multiple lists (between ordinary list items) should result in a seamless list (unlike with embedding).
  • Indented: The complete inlined list should be indented exactly as the inline command.
  • Instanciated: Edits within inlined lists should not be passed through to the source of the inline. (Especially for the check marks of check lists.)
  • Updating: Changes to the source of an inlined list should be reflected in the inlines, merging local edits (especially check marks). (In case of merge conflicts, some kind of conflict resolution should be offered: Ignore update, discard edits / check marks, merge editor)

I’m working on check lists for journeys / activities: I have simple check lists for e.g. beach (towel, lotion, …), skiing(skis, glasses, …), dancing(shoes, fan, …), journey(id, driving license, insurance), abroad(passport, dictionary, vaccination, …), …
And I have compiled hierarchical checklists reusing simple checklists: winter holiday(hotel booking, journey, skiing, …), beach holiday (journey, abroad, dancing, …)

Proposed solution

Some new syntax for inlining lists (or even more generally, any note), maybe similar to embedding syntax, e.g.: ![inl[SomeNode]] with usage like in the following example.
Source mode:

ListA
- a1
  - a1.1
InliningList
- o1
![inl[ListA]]
- o2
  ![inl[ListA]]

Result in reading view:

InliningList
- o1
- a1
  - a1.1
- o2
  - a1
    - a1.1

Current workaround (optional)

Manual copying and indenting. Trying to update all instances of a sublist in case of changes…

Related feature requests (optional)

Requests:

Plugins: