mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-16 10:15:13 +00:00
content: Replace calls to the code shortcode with fenced code blocks
This commit is contained in:
1 parent
b23c9a583a
commit
fd628be6ed
110 files changed
+483
-555
No files matched your search
@@ -58,7 +58,7 @@ See the [configure build] documentation for details and options.
|
||||
Step 4
|
||||
: Create a PostCSS configuration file in the root of your project.
|
||||
|
||||
{{< code file="postcss.config.js" copy=true >}}
|
||||
```js {file="postcss.config.js" copy=true}
|
||||
const autoprefixer = require('autoprefixer');
|
||||
const purgeCSSPlugin = require('@fullhuman/postcss-purgecss').default;
|
||||
|
||||
@@ -82,7 +82,7 @@ module.exports = {
|
||||
autoprefixer,
|
||||
]
|
||||
};
|
||||
{{< /code >}}
|
||||
```
|
||||
|
||||
{{< note >}}
|
||||
{{% include "/_common/functions/postcss-windows-warning.md" %}}
|
||||
|
||||
Reference in new issue
Block a user