Markdown questions with multiple lines/paragraphs

38 views
Skip to first unread message

Franz Jimeno

unread,
Oct 15, 2016, 2:53:42 AM10/15/16
to opencards
Hi,

how can I put a question with multiple lines using Markdown?

I want to add a multiple choice question with all the possible answers and the solution as the right answer.

Example:

Question ->

What is the capital of Spain:

a. Barcelona
b. Oviedo
c. Madrid

Answer ->

c. Madrid. Madrid is the capital of Spain since 1561.

Holger Brandl

unread,
Oct 17, 2016, 4:51:09 AM10/17/16
to open...@googlegroups.com
Hello Franz,

solution 1: Use <br> to break lines in the question:
## What is the capital of Spain: <br>a. Barcelona <br>b. Oviedo <br>c. Madrid

c. Madrid. Madrid is the capital of Spain since 1561.
However, this makes creating flashcards very tedious since a options need to be written in a single line, so I'd (solution 2) rather invert the question mode for the set to make OC to use card titles as answers. You can do so under
pasted2
The questions would then be written as
## c. Madrid. Madrid is the capital of Spain since 1561.


What is the capital of Spain:

* a. Barcelona
* b. Oviedo
* c. Madrid
The disadvantage of solution 2 is that answers would show up above the question. Potentially I could fix this in a later release.
Best,
Holger


--
You received this message because you are subscribed to the Google Groups "opencards" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencards+...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencards.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencards/6825899a-20e2-4e40-9a84-58ab9e1a81f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages