Other Widget Types#

Goal Widgets#

Goal widgets let you place goal boxes in the page, of the same kind that appear in the corner of every node and deduction in proof charts.

Just like the goal boxes appearing in proof charts, users can click to record check marks, and right-click to record free-form notes. Thus, goal widgets provide a way to place study goals in pages. See this intro to PISE’s study features for more.

Goal widgets are not currently supported in Sphinx pages.

Format#

  • TYPE: goal

  • NAME: Required.

  • LABEL: Optional. May be a Markdown section heading, in order to put a goal box at the start of the heading. Otherwise, just leave blank, in order to place a goal box anywhere in inline Markdown.

  • ROLE_FIELD: None.

  • CONTENT_FIELD: None.

Note

A NAME is required for goal widgets in order to promote stability of users’ checkmarks and study notes, and the ability to carry these forward across version changes.

Fields#

Required#

None.

Optional#

None.


Label Widgets#

A label widget provides a point within an annotation page to which Link Widgets can link.

On mouse hover, a “paragraph” icon comes up, which, when clicked, copies the widget’s libpath to clipboard.

Label widgets are not currently supported in Sphinx pages.

Format#

  • TYPE: label

  • NAME: Optional.

  • LABEL: Required. Must be either a single line of inline Markdown, or else a Markdown section heading. This is the page content to which link widgets will scroll, and on which mouse hover will bring up a “paragraph” icon.

  • ROLE_FIELD: None.

  • CONTENT_FIELD: None.

Fields#

Required#

None.

Optional#

None.


Q-and-A Widgets#

Q-and-A widgets put a box in the page showing a question, and with an answer which remains hidden until the user hovers their mouse over the answer space.

Format#

  • TYPE: qna

  • NAME: Optional.

  • LABEL: Not accepted.

  • ROLE_FIELD: None.

  • CONTENT_FIELD: None.

Fields#

Required#

Field

Type

Description

question

string

Text posing a question.

answer

string

Text providing an answer.

Optional#

None.