[Home](/) <!-- Sends the user to the root README.md -->
[foo](/foo/) <!-- Sends the user to index.html of directory foo -->
[foo heading](./#heading) <!-- Anchors user to a heading in the foo README file -->
[bar - three](../bar/three.md) <!-- You can append .md (recommended) -->
[bar - four](../bar/four.html) <!-- Or you can append .html -->
Home foo foo heading bar - three bar - four
| Tables | Are | Cool |
| ------------- | :-----------: | -----: |
| col 3 is | right-aligned | \$1600 |
| col 2 is | centered | \$12 |
| zebra stripes | are neat | \$1 |
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
:tada: :100:
🎉 💯
[[toc]]
TIP
This is a tip
WARNING
This is a warning
WARNING
This is a dangerous warning
This is a details block, which does not work in IE / Edge
STOP
Danger zone, do not proceed
console.log("Hello, VuePress!");
export default {
name: "MyComponent"
// ...
};
<ul>
<li v-for="todo in todos" :key="todo.id">
{{ todo.text }}
</li>
</ul>
export default {
data() {
return {
msg: "Highlighted!"
};
}
};
export default {
// Highlighted
data() {
return {
msg: `Highlighted!
This line isn't highlighted,
but this and the next 2 are.`,
motd: "VuePress is awesome",
lorem: "ipsum"
};
}
};
// .vuepress/config.js
module.exports = {
markdown: {
lineNumbers: true
}
};
<<< src/sample/snippet.js{2}
export default function() {
// ..
}
Badge <Badge text="beta" type="warning"/>
Badge <Badge text="エラー" type="error" vertical="middle"/>
Badge <Badge text="default theme"/>
// type - string, optional value: "tip"|"warning"|"error", defaults to "tip".
// vertical - string, optional value: "top"|"middle", defaults to "top".
warning beta error error default default theme