serlo / backlog

1 stars 0 forks source link

add macros to edtr-io #41

Open Entkenntnis opened 3 years ago

Entkenntnis commented 3 years ago

The frontend is supporting macros now, they are added with directly to katex:

https://github.com/serlo/frontend/blob/c65027232ea87b3eca20fd83ca44c7dda81b468e/src/components/content/math-span.tsx

(see the macros-option)

We want to add these macros to edtr-io, probably with a config option. Relevant file in edtr-io:

https://github.com/edtr-io/edtr-io/blob/0891c444d4f3b562c678efe42b6f211ba3a3570b/packages/public/math/src/renderer.tsx

(line 19)

hugotiburtino commented 1 year ago

In serlo/serlo-editor-issues-and-documentation this issue seems to be in a better place. The responsable for this repo can assess it again and maybe transfer to a more appropriate repo.