This page contains the software/tools I developed to work easily with (the popular learning management system) Moodle's GIFT (General Import Format Template) file format.
Prepare your Moodle quiz questions (in GIFT format on Vim editor) in style!
Get your quiz questions colored in real time as you are editing them. A sample screenshot is shown below.
Use snippets for all types of questions supported by the GIFT format to work from detailed templates.
|Download (Contains all 3 files below)||: VimGift.zip|
|Vim Syntax Coloring1,2||: gift.vim|
|Vim Filetype Detection||: gift.vim|
|Vim SnipMate Snippets||: gift.snippets|
Here is a colored multiple-choice type question. Scroll down for more examples and other useful resources.
There are 6 special characters that control the GIFT format:
If you need to use them as regular characters in your quiz questions, they need to be escaped (preceded by \ character).
You can use GIFT Escaper to automatically and properly escape any piece of regular text or LaTeX equation for you.
GIFT Escaper is written in Java Programming Language, and can run on almost all operating systems.
A screenshot of the GIFT Escaper software is shown below.
|GIFT Escaper (zipped Java archive)||: GIFTEscaper.zip|
|GIFT Escaper Icon (24 x 24 pixels)||:|
Screenshot of GIFT Escaper properly escaping the GIFT control characters inside a LaTeX equation.
Some other GIFT resources that I prepared, and links to some useful public GIFT resources are listed below.
|Detailed GIFT Samples (Snippets)||: Demo.gift|
|Detailed GIFT Samples - Colored||: Demo.gift.html|
|Moodle 3.10 GIFT Samples||: Moodle310_Examples.gift|
|Moodle 3.10 GIFT Samples - Colored||: Moodle310_Examples.gift.html|
|Moodle 3.10 Parser - Base Class||: Moodle310_qformat_default.php|
|Moodle 3.10 Parser - Child Class||: Moodle310_qformat_gift.php|
|Moodle 3.10 Parser - Class Diagram||: Moodle310_ClassDiagram.png|
|About GIFT Format||: Moodle 3.10 Document|
|About UTF-8||: Moodle 3.10 Document|
|GIFT Grammar3||: GIFT PEG Grammar|
|GIFT Grammar Diagram||: Railroad Diagram for GIFT PEG Grammar|
|GIFT for Visual Studio Code||: Contains Good Documentation|