]> git.mxchange.org Git - friendica-addons.git/blobdiff - mathjax/README.md
diaspora addon added HU translation THX Balázs Úr
[friendica-addons.git] / mathjax / README.md
index 9647a986d12d0933c189a4b30999eb3133900114..f5a0388fe89362fbefdbd135a8894a2f8ec2bd08 100644 (file)
@@ -13,21 +13,27 @@ 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/addon.config.php` file
 
-        $a->config['mathjax']['baseurl'] = 'the URL to your MathJax installation';
+       'mathjax' => [
+               'baseurl' => '[the URL to your MathJax installation]',
+       ],
 
 Usage
 =====