]> git.mxchange.org Git - friendica-addons.git/blobdiff - mathjax/README.md
Twitter addon translation update THX kalon33
[friendica-addons.git] / mathjax / README.md
index 9647a986d12d0933c189a4b30999eb3133900114..e907fadfcd3c8c0953f5c424279ec5ebcaabadad 100644 (file)
@@ -13,21 +13,29 @@ This addon for friendica includes the [MathJax][1] CDN to enable rendering of
 
 Configuration
 -------------
-All you need to do is provide friendica with the base URL of MathJax. This can
+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
 
        http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
 
-In case you don't want or can use the admin panel of firneidca you can activate
-the addon by adding _mathjax_ to the 
+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/local.config.php` file
 
-       $a->config['system']['addon']
+    'system' => [
+        ...
+        'addon' => '...,mathjax'
+        ...
+    ]
 
-list in your .htconfig.php file and then providing the base URL after that
+and then providing the base URL after that in the `config/mathjax.config.php` file
 
-        $a->config['mathjax']['baseurl'] = 'the URL to your MathJax installation';
+       return [
+               'mathjax' => [
+                       'baseurl' => '[the URL to your MathJax installation]',
+               ],
+       ];
 
 Usage
 =====