refactor: redesign admonitions/callouts/quotes (#5193)

* prepare admonitions redesign

* Docusaurus admonition cleanup

* cover more edge cases in Docusaurus admonitions page: interleaving code blocks and links

* cover more edge cases in Docusaurus admonitions page: interleaving code blocks and links

* update Infima with new alerts
This commit is contained in:
Sébastien Lorber 2021-07-23 17:10:38 +02:00 committed by GitHub
parent 24156efcfb
commit 083037d7a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 104 additions and 47 deletions

View file

@ -101,16 +101,6 @@ export default function pluginContentBlog(
);
},
getClientModules() {
const modules = [];
if (options.admonitions) {
modules.push(require.resolve('remark-admonitions/styles/infima.css'));
}
return modules;
},
// Fetches blog contents and returns metadata for the necessary routes.
async loadContent() {
const {postsPerPage, routeBasePath} = options;