corrections of formulas

This commit is contained in:
Ilya Uraev 2021-11-26 11:51:11 +04:00
parent d976d9f7d7
commit 55f16bdfd2
3 changed files with 19 additions and 4 deletions

View file

@ -1,4 +1,6 @@
/** @type {import('@docusaurus/types').DocusaurusConfig} */
const math = require('remark-math');
const katex = require('rehype-katex');
module.exports = {
title: 'Robossembler',
tagline: 'Self Replicated Robotics Infrastructure Documentation',
@ -88,6 +90,8 @@ module.exports = {
'https://gitlab.com/robosphere/robossembler-docs/-/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
remarkPlugins: [math],
rehypePlugins: [katex],
},
blog: {
showReadingTime: true,
@ -101,4 +105,12 @@ module.exports = {
},
],
],
stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css',
integrity:
'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc',
crossorigin: 'anonymous',
},
],
};