What is the default text format for GIFT?

What is the default text format for GIFT?

ដោយ Stewart Hutton នៅ
ចំនួនតប៖ 3
As the subject says - if a text format isn't specified in a GIFT file for import, how will the question be treated? plain text? moodle auto-format? something else?

I know - I could try it to find out - but I have to write some notes this evening without access to the system so I'm hoping I can get a quick answer here!

Thanks
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Stewart Hutton

Re: What is the default text format for GIFT?

ដោយ Mary Cooch នៅ
រូបភាព Documentation writers រូបភាព Moodle HQ រូបភាព Particularly helpful Moodlers រូបភាព Testers រូបភាព Translators
I don't know but you could test it out on heresmile
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Mary Cooch

Re: What is the default text format for GIFT?

ដោយ Stewart Hutton នៅ
Thanks Mary - thats doubly useful.

I can use it to test out things when writing my notes - and then the question authors can use it to test their files.

I didn't know it existed.
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Stewart Hutton

Re: What is the default text format for GIFT?

ដោយ Tim Hunt នៅ
រូបភាព Core developers រូបភាព Documentation writers រូបភាព Particularly helpful Moodlers រូបភាព Peer reviewers រូបភាព Plugin developers
Thank you for asking this question, I just learned something!

I did not know the answer, so I went to look at the code (question/format/gift/format.php), and the answer is much more interesting than I expected.

By default, it is Moodle auto-format, however, you can write something like

[html]<p>Here is some HTML question text</p>

That is, with the format you want in square brackets. The format names recognised are moodle, html, plain and markdown.
មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (1)