
This commit adds a simple markdown component using markdown-it. It includes Prism.js to handle syntax highlighting for code snippets.
17 lines
283 B
JavaScript
17 lines
283 B
JavaScript
module.exports = {
|
|
presets: [
|
|
'@vue/cli-plugin-babel/preset'
|
|
],
|
|
plugins: [
|
|
[
|
|
'prismjs',
|
|
{
|
|
languages: ['javascript', 'css', 'html'],
|
|
plugins: ['line-numbers', 'show-language'],
|
|
theme: 'tomorrow',
|
|
css: true
|
|
}
|
|
]
|
|
]
|
|
}
|