Skip to content
  • Tim Hunt's avatar
    19de315e
    MDL-34306 gift question format: allow import of general feedback · 19de315e
    Tim Hunt authored
    This change introduces #### as a separator for general feedback. You need
    to add ####General feedback goes here as the last thing inside the {...}.
    For example
    
    // question: 123  name: Shortanswer
    ::Shortanswer::Which is the best animal?{
        =Frog#Good!
        =%50%Cat#What is it with Moodlers and cats?
        =%0%*#Completely wrong
        ####Here is some general feedback!
    }
    
    Note that this change is not entirely backwards compatible. It will break
    any existing GIFT file where the character sequence #### us used between the
    {} as part of the question. This seems highly unlikely.
    19de315e
    MDL-34306 gift question format: allow import of general feedback
    Tim Hunt authored
    This change introduces #### as a separator for general feedback. You need
    to add ####General feedback goes here as the last thing inside the {...}.
    For example
    
    // question: 123  name: Shortanswer
    ::Shortanswer::Which is the best animal?{
        =Frog#Good!
        =%50%Cat#What is it with Moodlers and cats?
        =%0%*#Completely wrong
        ####Here is some general feedback!
    }
    
    Note that this change is not entirely backwards compatible. It will break
    any existing GIFT file where the character sequence #### us used between the
    {} as part of the question. This seems highly unlikely.
Loading