O Editor de Matemática do Discourse é um plugin para inserir equações matemáticas no Discourse de maneira mais amigável ao usuário. Este editor ajuda você a criar LaTeX. Leia na Wikipedia sobre isso se você não souber o que é: Wikipedia
Para mais documentação sobre todos os comandos LaTeX que você pode usar, consulte aqui: documentação do MathLive
E assista ao vídeo:
Instalação
Siga o tutorial Instalar um Plugin
do Discourse Meta oficial, usando git clone https://github.com/spirobel/discourse-matheditor.git
como comando do plugin.
Você também precisa usar o plugin matemático oficial junto com este: plugin matemático oficial
Recomendo usar o KaTeX em vez do MathJax, pois é muito mais rápido (pelo menos para mim).
do you mean the graph below the box like in the mathlive docs? I think its a good idea, but probably better handled in a different plugin. What do you think about this plugin:
by the way, I found some posts here that people living in other countries can’t type in their native language, because they don’t have a local keyboard with PC or laptop. Of course they can use online keyboards, but it’s smth like a ‘wooden wheel’ in a new auto .
This is actually something I am interested in as well. I am learning how to create discourse plugins because I want to create a collaborative mandarin dictionary. Its quite a big project, so I am creating these smaller plugins first that have similar features so I can experiment on how to implement the whole thing. We can not use the google virtual keyboard, because it seems like its not an open source library. But a quick google search shows that there are open source virtual keyboard solutions: for example I just came across this one: Virtual Keyboard
I think the big downside of these keyboards is that the typing is very slow. So usually if I want to type in a different language I install something like unikey for vietnamese for example or sunpinyin for mandarin. I expect that most of my users will be able to type in their language so I am not planning to add a virtual keyboard. But I also want to have a way to input pinyin and zhuyin with tones. I still havent figured what to do about this. Which languages are you working with?
@spirobel Acabei de instalar seu plugin e agora estou recebendo este erro. Há alguma chance de você atualizar seu incrível plugin?
Erro: o modal 'matheditor-modal' precisa ser atualizado para funcionar com a versão mais recente do Discourse. Veja https://meta.discourse.org/t/268057.
Seu plugin é muito útil, especialmente para dispositivos móveis.
Houve muitas atualizações do Discourse desde abril de 2024, e eu não vi o tópico deste plugin ser marcado como “quebrado”, então presumo que as falhas acima não foram reproduzíveis em versões posteriores do Discourse?