Notematics
v1.0.0Maths lessons on an online whiteboard: solutions, worksheets, graphs and geometry, opened by a link
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_board_format Board format
Returns the Notematics text format with a complete example: the basics, and the parts asked for (pictures: graphs, geometry drawings, solids, number lines; presentation: steps, how they appear, marks, comments, narration text, music; tests: questions with answer keys). Without parts it returns all of it.
| Parameter | Type | Description |
|---|---|---|
parts | array | The parts the board needs, to leave out the rest. |
check_board Check a board
Checks a board text without publishing it. Returns what was understood, page by page, and every problem with its line and how to fix it. A text with an ERROR cannot be published; one with warnings only can.
| Parameter | Type | Description |
|---|---|---|
text * | string | The whole board in the Notematics format (see get_board_format): # title, ## pages, ### steps, Markdown with $...$ formulas, and blocks such as :::graph, :::geometry, :::solid, :::numberline and :::qu… |
publish_board Publish a board
Publishes a board as a page that anyone with the link can open, and returns the link. The part of the link after # is the key that opens the board. A text with errors is not published: the problems come back instead.
| Parameter | Type | Description |
|---|---|---|
text * | string | The whole board in the Notematics format (see get_board_format): # title, ## pages, ### steps, Markdown with $...$ formulas, and blocks such as :::graph, :::geometry, :::solid, :::numberline and :::qu… |
autoplay | boolean | true: the link opens the board straight in the presentation player, which plays it step by step (for a presentation, an explainer, a video lesson). Leave it out for a board to look at and work on. |
read_board Read a board
Reads the board behind a Notematics link the user gave you and returns it as board text, in the same format you write. Ink, images, widgets and the audio of narration cannot be written as text and are listed as left out (narration text is kept, as :::say; the wire man or girl as :::companion and the moods as :::mood; how steps appear as :::show; the marks drawn over what is written as :::strike, :::circle… lines; the look of words as spans; the points, figures and texts of a graph as its lines; a built-in board theme as :::theme). For a live link it also says which page the teacher is on.
| Parameter | Type | Description |
|---|---|---|
link * | string | The Notematics link the user gave you, exactly as given: .../live/<id> (the board open now) or .../s/<id>#<key> (a shared copy). |
add_to_board Add to the open board
Adds board text to the board the teacher has open, behind a live link (.../live/<id>). place "current_page": put it under what is on the page the teacher is on (write ONE page: the next step, a hint, a drawing). place "new_pages": add your pages after the last page (exercises, answers, a new topic). A text with errors is not added: the problems come back instead. Nothing on the board is changed or removed; the teacher can undo the addition.
| Parameter | Type | Description |
|---|---|---|
link * | string | The live link the user gave you: .../live/<id>. |
place * | string | "current_page" (under what is on the teacher's page; one page of text) or "new_pages" (after the last page). |
text * | string | The whole board in the Notematics format (see get_board_format): # title, ## pages, ### steps, Markdown with $...$ formulas, and blocks such as :::graph, :::geometry, :::solid, :::numberline and :::qu… |