mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-25 12:38:57 +02:00
fix(theme): support details/summary in CommonMark + add md dogfood test cases (#9093)
This commit is contained in:
parent
7225d80271
commit
3b85f0713a
5 changed files with 183 additions and 16 deletions
|
@ -162,6 +162,9 @@ module.exports = async function createConfigAsync() {
|
|||
// comments: false,
|
||||
},
|
||||
preprocessor: ({filePath, fileContent}) => {
|
||||
// TODO temporary quick fix for https://github.com/facebook/docusaurus/issues/9084
|
||||
fileContent = fileContent.replaceAll('<!--\n', '<!-- \n');
|
||||
|
||||
if (isDev) {
|
||||
// "vscode://file/${projectPath}${filePath}:${line}:${column}",
|
||||
// "webstorm://open?file=${projectPath}${filePath}&line=${line}&column=${column}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue