sample page
this is a sample page for all the formating i use, for you to explore and for me to test
random blog
random post
INDEX
markdown cheatsheet
This is regular text
This is bold text
This is italic text
This is bold and italic text
This is strikethrough
h1 Heading
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Marked text
Horizontal rule using either ___, --- or ***
Typographic replacements
writing (something) with enabled typographer you can do © © ® ® ™ ™ ±
dots.. more... many..... a lot?..... of dots!....
!!!!!! ???? ,, -- ---
"Double quotes" and 'single quotes'
Blockquotes can also be nested...
...by using additional greater-than signs next to each other
or with spaces between arrows.
inline code
or a block code like this
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
Tables
| Option | Description |
|---|---|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
Right aligned columns, adding : at the header line | -----------:|
| Option | Description |
|---|---|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
Links
internal text link with default tooltip
Lists
Unordered
- Create a list by starting a line with
+,-, or*can't do sublists in bearblog, but would be adding spaces before the list mark, 2 spaces each level
Ordered
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
snippets cheatsheet
Images with tooltip
Like links, Images also have a footnote style syntax
![Alt text][id]
With a reference later in the document defining the URL location:
[id]: https://i.imgur.com/cBGmxWH.jpg "grass"
19th ^
H2O ~
Footnotes
first one1. and second one2.
even duplicated footnote reference2.
Definition lists don't work in bearblog
text inside image using <div class="img-containted-text">, inside: <img> and <div class="centered">
text inside image USING <div class="img-contained-txt"
<article id="commonplace-article">
<div class="img-contained-txt" style="width:190px; font-size:100%; display: block; margin-left: auto; margin-right: auto;">
<img src="https://64.media.tumblr.com/8a0263d43f12c8fca93b93edbecea745/85c2a7eed0417074-07/s2048x3072/1f1a032b4b1991ed26d4de8c3fd5d9793981182a.pnj" alt="apple text">
<div class="centered" style="padding-top:15px; padding-left:15px; color:brown;">all txt</div>
</div>
<p>the rating goes something like this:</p>
<p>
<span class="star-rating">★☆☆☆☆</span> - Crap<br>
<span class="star-rating">★★☆☆☆</span> - Meh<br>
<span class="star-rating">★★★☆☆</span> - Good<br>
<span class="star-rating">★★★★☆</span> - Very good<br>
<span class="star-rating">★★★★★</span> - Bloody brilliant!
</p>
<p class="notice tip">you can also subscribe to my reading list <a href="/commonplace-feed">via RSS</a>.</p>
<div class="card" data-rating="5/5" data-genre="género 1" data-author="autor 2">
<h2 id="project-hail-mary"><a href="#project-hail-mary" aria-label="Link to Project Hail Mary">Project Hail Mary</a></h2>
<p>
<b>author:</b> Andy Wier<br>
<b>rating:</b> <span class="star-rating"><span class="star-rating" aria-label="5/5">★★★★★</span></span><br> -------->
</p>
<p>All he knows is that he's been asleep for a very, very long time. And he's just been awakened to find himself millions of miles from home, with nothing but two corpses for company.</p>
you just jumped here
JUMP FROM HERE <h2><a href="#jumpHERE">JUMP HERE</a></h2>
PLACE TO JUMP TO <h2 id="jumpHERE">testing</h2>
Patterned Backgrounds pure CSS
Polka Halftone
.polka-halftone-greeny {
background-color: #fcfef5;
opacity: 0.8;
background-image: radial-gradient(#8ab276 1.2px, transparent 1.2px), radial-gradient(#8ab276 1.2px, #fcfef5 1.2px);
background-size: 16px 16px;
background-position: 0 0,8px 8px;
}
Polka Grid
.polka-grid-greeny {
background-color: #fcfef5;
opacity: 0.8;
background-image: radial-gradient(circle, #8ab276 0.96px, transparent 0.96px);
background-size: 12px 12px;
}