You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hypolite Petovan 39c654da00
[various] Remove App dependency from hook functions
2 weeks ago
asset [mathjax] Added missing fonts 4 years ago
lang HU translation of various addons updated 1 month ago
templates [various] Convert addon_settings hook functions to the new data array format 1 year ago
LICENSE license file 10 years ago [various] adapt 3 weeks ago
mathjax.js [mathjax] Add separate addon JS file 4 years ago
mathjax.php [various] Remove App dependency from hook functions 2 weeks ago

MathJax Addon

  • Author: Tobias Diekershoff
  • License: 3-clause BSD license (see the LICENSE file in the addon directory)


This addon for friendica includes the MathJax CDN to enable rendering of LaTeX formulae in your friendica postings.


All you need to do is provide Friendica with the base URL of MathJax. This can be either the URL of the CDN of MathJax or your own installation.

In case you want to use the CDN you can try the following URL as a quick start

In case you don't want or can use the admin panel of Friendica you can activate the addon by adding mathjax to the list in your config/node.config.php file

'addons' => [
	'mathjax' => [
		admin => true,			

and then providing the base URL after that in the config/mathjax.config.php file

return [
	'mathjax' => [
		'baseurl' => '[the URL to your MathJax installation]',


Once the addon is configured you can use LaTeX syntax in your postings to share formulae with your contacts. But remember that the formulae are rendered in the browser of the user thus your contacts need to activate this addon as well. If they don't they will only see the LaTeX syntax in your texts.

Just enclose your equations in ... pairs like e.g. $f_c(x)=ax+b$.