Skip to content

Make it possible to duplicate exercises and/or solutions #11

Open
@choldgraf

Description

@choldgraf

I believe that @jni mentioned it is common for them to have exercises in individual chapters and additionally at the end of a book. I think that's a pretty common pattern across fields. It would be nice if authors could write one exercise / solution and then be able to display both elsewhere without creating new labels etc.

I wonder if we could just add this as a keyword to the directives, something like:

```{exercise}
:copy: somelabel
```

and it would look for an exercise node of label somelabel and, if so, copy / paste it into the new location (perhaps with a link that points to the original)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions