From: John Noll <jhnoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: GIFT question format
Date: Wed, 24 Nov 2021 04:00:46 -0800 (PST) [thread overview]
Message-ID: <a5b23830-803e-4513-b0e3-6240b648d315n@googlegroups.com> (raw)
In-Reply-To: <YZ4eRwOrXXJPcjvr@localhost>
[-- Attachment #1.1: Type: text/plain, Size: 4902 bytes --]
There is a rather nifty Markdown-based tool for writing quizzes in Markdown
and translating them into QTI format which most LMSs accept (Moodle and
Canvas among them).
See : https://github.com/gpoore/text2qti.git
-John Nol
On Wednesday, November 24, 2021 at 11:14:35 AM UTC Bastien Dumont wrote:
> I wonder if it is possible to represent such a structure with Pandoc
> types. But if you want to include snippets of GIFT code into a regular
> markdown file, you can insert them as raw blocks like this:
>
>
> ```{=gift}
> Mahatma Gandhi's birthday is an Indian holiday on {
> ~15th
> ~3rd
> =2nd
> } of October.
> ```
>
> Then, you can create a Lua filter that parses RawBlocks with "gift" as the
> "format" attribute and transform it directly into a raw HTML block
> (provided that you target format is HTML).
>
> Le Wednesday 24 November 2021 à 11:43:45AM, Corentin Dupont a écrit :
> > Hi Joseph,
> > yes, Pandoc readers and writers for the gift format would be great.
> >
> > Mahatma Gandhi's birthday is an Indian holiday on {
> > ~15th
> > ~3rd
> > =2nd
> > } of October.
> >
> > This would translate to HTML to something like this:
> >
> > <form action="[1]http://www.foo.com" method="POST">
> > <div>
> > <label for="Q1">Mahatma Gandhi's birthday is an Indian holiday on</label>
> > <select id="Q1" name="Q1">
> > <option value="Q1R1">15th</option>
> > <option value="Q1R2">3rd</option>
> > <option value="Q1R3">2nd</option>
> > </select>
> > </div>
> > </form>
> >
> >
> > This seems rather straight forward. But what about the server side?
> > In this case, the server would receive "Q1=Q1R1" if you select the first
> > answer.
> > The server needs to be configured with the gift file, but I suppose this
> is a
> > different process.
> >
> >
> >
> > On Mon, Nov 22, 2021 at 2:59 PM Joseph Reagle <[2]josep...-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
> > wrote:
> >
> > I hadn't encountered GIFT before, neat! You'd have to write custom
> readers
> > and writers for pandoc to handle this.
> >
> > [3]https://pandoc.org/MANUAL.html#custom-readers-and-writers
> >
> > Otherwise, if you have a GIFT tool, you could simply include the
> resulting
> > HTML in the markdown -- there's no markdown convention for forms.
> >
> > A dream feature of mine would be able to write quiz/polls in my
> > markdown-to-revealjs slides, and not have to set up my own server --
> which
> > the revealjs poll plugin currently requires. Embedding some of the
> question
> > services out there would be awesome and possible, but I don't think
> there's
> > been interest on the revealjs sde.
> >
> > [4]https://github.com/hakimel/reveal.js/issues/2763
> >
> > Then, being able to write questions/answers in a text format would be
> icing
> > on the cake. 🙂
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [5]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [6]https://groups.google.com/d/
> > msgid/pandoc-discuss/50c6262d-38a9-7f4b-95c2-3fd26edcd5d2%40reagle.org.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email
> > to [7]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [8]
> https://groups.google.com/d/msgid/
> > pandoc-discuss/
> > CAEyhvmq9MOQC0Y7Yd5%3DhOj7cMW0kt7GDFMe%2Bkz5qAW4r5eaoRA%40mail.gmail.com
> .
> >
> > References:
> >
> > [1] http://www.foo.com/
> > [2] mailto:josep...-T1oY19WcHSwdnm+yROfE0A@public.gmane.org
> > [3] https://pandoc.org/MANUAL.html#custom-readers-and-writers
> > [4] https://github.com/hakimel/reveal.js/issues/2763
> > [5] mailto:pandoc-discuss%2Bunsu...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [6]
> https://groups.google.com/d/msgid/pandoc-discuss/50c6262d-38a9-7f4b-95c2-3fd26edcd5d2%40reagle.org
> > [7] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [8]
> https://groups.google.com/d/msgid/pandoc-discuss/CAEyhvmq9MOQC0Y7Yd5%3DhOj7cMW0kt7GDFMe%2Bkz5qAW4r5eaoRA%40mail.gmail.com?utm_medium=email&utm_source=footer
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a5b23830-803e-4513-b0e3-6240b648d315n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 9887 bytes --]
next prev parent reply other threads:[~2021-11-24 12:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-22 13:30 Corentin Dupont
[not found] ` <CAEyhvmoK6iHw+LN3StihRhhX175zpgCt+tAR9hog_OYLuym87w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-22 13:59 ` Joseph Reagle
[not found] ` <50c6262d-38a9-7f4b-95c2-3fd26edcd5d2-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2021-11-24 10:43 ` Corentin Dupont
[not found] ` <CAEyhvmq9MOQC0Y7Yd5=hOj7cMW0kt7GDFMe+kz5qAW4r5eaoRA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-24 11:13 ` Bastien DUMONT
2021-11-24 12:00 ` John Noll [this message]
[not found] ` <a5b23830-803e-4513-b0e3-6240b648d315n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-11-24 12:11 ` Corentin Dupont
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a5b23830-803e-4513-b0e3-6240b648d315n@googlegroups.com \
--to=jhnoll-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).