Code snippets

Description

Acceptance Criteria

  1. As an author, wherever I can add bold, italic and similar formatting in H5P I want to be able to mark text as code.

  2. As a learner I want code snippets added by the author to stand out.

could you fill in the design spec?

Design spec.

AC1

  • Accordion

    • Text

  • Advanced fill in the blanks

    • Task description,

    • Snippet text

  • Agamotto

    • Description

  • Branching scenario

    • Text

    • Branching Question

    • Custom end scenario text

  • Course presentation

    • Text,

    • Link,

    • Continous text,

    • Table,

    • Comments on all content items

  • Dialog cards

    • Heading,

    • Task description,

    • Text,

    • Answer

  • Dictation

    • Task description

  • Documentation tool

    • Text,

    • Text input field editor element,

    • Description,

    • Additional help information

  • DnD

    • Dropzone label,

    • Dropone tip

    • Draggable text

  • Drag text

    • Task description

  • Essay

    • Task description,

    • Introduction,

    • Sample solution

  • Fill in the blanks

    • Task description,

    • Text blocks

  • Flashcards

    • Tip

  • Guess the answer

    • Task description)

  • Image hotspots

    • Text

  • Interactive video

    • Text,

    • Table

  • Mark the letters

    • Question,

    • Text

  • Mark the words

    • Task description,

    • Text blocks

  • Multiple choice

    • Question,

    • Alternatives,

    • Tips,

    • message if selected/not selected

  • Question set

    • Introduction text

  • Questionnaire

    • Feedback

  • Single choice set

    • Question,

    • Alternative

  • Speak the words set

    • Introduction text

  • Summary

    • Introduction,

    • Alternative,

    • Tip text

  • Timeline

    • Body text

  • True/False

    • Question

  • Virtual Tour 360

    • Scene description,

    • Text

AC2.
Should be possible to add code snippet as a block and as inline. The design spec. here (V1 version should be implemented):
https://preview.uxpin.com/43131e5ed6a37e04ce8d052e5a052ae62c5cc37e#/pages/118203420/simulate/no-panels

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Svein-Tore Griff With

Labels

None

Funding

None

Code reviewer

None

Released

None

Time tracking

6h

Fix versions

Priority

Medium
Configure