Blog posts in Bleda are written using Markdown. However, you are free to use HTML inside Markdown, for any elements not covered by the spec.
Markdown is intended to be as easy-to-read and easy-to-write as is feasible.Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions.
Haxx0r ipsum then less spoof ifdef boolean bang injection while it's a feature. Finally back door bit gc client access suitably small values injection protocol ack loop. Bang public echo baz server packet sniffer syn cd.
Frack highjack float buffer function protocol I'm compiling. Root leet all your base are belong to us char protected ascii . regex semaphore root bin ip snarf foo Linus Torvalds. Cache Dennis Ritchie gc echo endif
script kiddies public new tera brute force fork fopen spoof bytes tcp.
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Heading 1 is the title of this page. You should only use it once in a document.
Links
When you paste in a URL like so: https://gridsome.org, it will be automatically converted to a link. Otherwise, you can use the standard [link text](https://...)
markdown to create a link.
Ordered list
- python
- root
- public
- bypass
Unordered list
- boolean
- stack
- foad
- tarball
A definition list
This list is created using <dl>
, <dt>
, and <dd>
HTML tags.
- First Term
- This is the definition of the first term.
- Second Term
- This is one definition of the second term.
- This is another definition of the second term.
Blockquotes
Trojan horse protected afk finally irc ip new kilo fork boolean. Int ack long less lib crack emacs gnu foo . segfault suitably small values ascii rsa throw void I'm sorry Dave
Code
Fenced codeblocks
Bleda uses gridsome-plugin-remark-shiki to add syntax highlighting to code blocks. Roll with the default light one, or choose one of the other themes available.
<template>
<div id="app">
<h1>My Todo App!</h1>
<TodoList/>
</div>
</template>
<script>
import TodoList from './components/TodoList.vue'
export default {
components: {
TodoList
}
}
</script>
<style lang="postcss">
#app {
@apply text-grey-darker max-w-sm mx-auto leading-normal font-sans;
h1 {
@apply text-black text-4xl;
}
}
</style>
Of course, it also styles inline code blocks
.
Images
Here's a local image:
As you just saw, Gridsome loads it only when it enters your viewport.
Here's an external image, hotlinked from Unsplash and linked to its page there:
As you can see, the lightbox is not used for linked images. Also, if the URL they link to is external, it will open in a new tab - just like the one above.