SchildiChat-android/vector
Nick Hu 20821fbe80
Render maths with respect to data-mx-maths
(https://github.com/matrix-org/matrix-doc/pull/2191)

Firstly, this implements a commonmark-java plugin which is solely used to parse
LaTeX input in the composer box, so that they can be rendered into
`<span data-mx-maths=...>fallback</span>` and `<div
data-mx-maths=...>fallback</div>` for inline and display maths
respectively in the sent message.

Secondly, received messages of this form are pre-processed by a simple
regex into a form which markwon (which performs the rendering) expects.
2021-09-24 13:50:42 +01:00
..
sampledata textSize 15sp -> android:textAppearance="@style/VectorTextAppearanceSubtitle or Body 2021-06-14 22:10:12 +02:00
signature Share the debug signature to all machines which build the debug APK 2019-06-07 10:17:14 +02:00
src Render maths with respect to data-mx-maths 2021-09-24 13:50:42 +01:00
.gitignore
build.gradle Downgrade markwon version and enable LaTeX rendering for messages 2021-09-24 13:50:34 +01:00
lint.xml Fix annoying issue detected by lint (CheckResult) and consider that's errors from now 2021-09-10 18:14:39 +02:00
proguard-rules.pro Fix Authenticated Jitsi not working in release #3841 2021-08-16 15:43:35 +02:00