soulcharmer / pubquiz_generator

Trivia quiz slide deck generator producing Reveal.js output
1 stars 0 forks source link

Q&A template population #4

Open soulcharmer opened 6 years ago

soulcharmer commented 6 years ago

each question appears on a question slide and then again in on an answer slide.

need to single source the actual text and use some sort of %s to feed the template.

soulcharmer commented 5 years ago

Pls add support for a simple and optional markup that cuts off a part of the question not to be repeated in the answer.

zelial commented 4 years ago

Currently the question is automatically included in the answer slide without it having to be repeated in the output. @soulcharmer, would you like to change this to not include the question unless the specific token (e.g. %question%) is present in the answer?

soulcharmer commented 4 years ago

As shown in #2 , the most flexible and useful solution is to reuse the question text in answer slides as well as the answer sheet by default but also allow the question text to be trimmed for brevity by using a cut-off sequence.

Would it be easy to do?

zelial commented 4 years ago

yeah, likely would be easy. Any preferences of how should the cut-off sequence look like in the source?

zelial commented 4 years ago

And I'll answer myself: the token should be "<<<" as proposed in issue#2