mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
switch markdown parser to kramdown
- so we get easy TOC functionality for whitepaper
This commit is contained in:
parent
f41a33f0ac
commit
36695953c9
@ -25,7 +25,14 @@ permalink: /:title/
|
||||
|
||||
# Content Parsing
|
||||
# --------------------
|
||||
markdown: redcarpet
|
||||
#markdown: kramdown
|
||||
|
||||
kramdown:
|
||||
input: GFM
|
||||
extensions:
|
||||
- autolink
|
||||
- footnotes
|
||||
- smart
|
||||
|
||||
redcarpet:
|
||||
extensions: ['autolink', 'smart', 'hard_wrap', 'with_toc_data']
|
||||
|
@ -36,6 +36,7 @@
|
||||
// Content types
|
||||
@import 'bigchain/_content-page';
|
||||
@import 'bigchain/_comments';
|
||||
@import 'bigchain/_toc';
|
||||
|
||||
// specific page styles
|
||||
@import 'page-front';
|
||||
|
38
_src/_assets/styles/bigchain/_toc.scss
Normal file
38
_src/_assets/styles/bigchain/_toc.scss
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
.toc {
|
||||
&,
|
||||
ol { counter-reset: item;}
|
||||
|
||||
&,
|
||||
li { padding-left: 0; }
|
||||
|
||||
&:before {
|
||||
@extend .h1;
|
||||
content: "Table Of Contents";
|
||||
display: block;
|
||||
border-bottom: 2px solid $gray-lightest;
|
||||
padding-bottom: $spacer;
|
||||
margin-bottom: ($spacer * 2);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
li,
|
||||
ol { margin: 0; }
|
||||
|
||||
li {
|
||||
display: block;
|
||||
|
||||
// custom numbers
|
||||
&:before {
|
||||
content: counters(item, ".") " ";
|
||||
counter-increment: item;
|
||||
margin-right: $spacer;
|
||||
color: $gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// output by Kramdown
|
||||
#markdown-toc {
|
||||
@extend .toc;
|
||||
}
|
@ -171,6 +171,7 @@ ol {
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
margin-top: ($spacer / 2);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,14 @@ ascribe GmbH, Berlin, Germany
|
||||
|
||||
**Abstract**
|
||||
|
||||
This paper describes Bigchain, a blockchain database technology capable of 100,000 transactions per second throughput and storing petabytes of data. It is suitable for deployment as trustless public blockchain databases, as well as permission-controlled blockchain databases for private trust networks. The Bitcoin blockchain has sparked dreams of an open, global database that could transform the financial system and the broader Internet, with long-term positive implications for society. However, the Bitcoin blockchain has major scalability and governance issues. There are several proposals to scale the blockchain, from proof of stake to side chains; we discuss the challenges of these. Bigchain is an alternative that draws on ideas from cryptography engineering, distributed databases, the domain name system (DNS), and an innovation we call blockchain pipelining. Rather than trying to scale up a blockchain, we add decentralized characteristics to an existing, scalable, battle-hardened distributed database. We present a thorough description of Bigchain, and experimental results.
|
||||
This paper describes Bigchain, a blockchain database technology capable of 100,000 transactions per second throughput and storing petabytes of data. It is suitable for deployment as trustless public blockchain databases, as well as permission-controlled blockchain databases for private trust networks.
|
||||
|
||||
The Bitcoin blockchain has sparked dreams of an open, global database that could transform the financial system and the broader Internet, with long-term positive implications for society. However, the Bitcoin blockchain has major scalability and governance issues. There are several proposals to scale the blockchain, from proof of stake to side chains; we discuss the challenges of these.
|
||||
|
||||
Bigchain is an alternative that draws on ideas from cryptography engineering, distributed databases, the domain name system (DNS), and an innovation we call blockchain pipelining. Rather than trying to scale up a blockchain, we add decentralized characteristics to an existing, scalable, battle-hardened distributed database. We present a thorough description of Bigchain, and experimental results.
|
||||
|
||||
1. TOC
|
||||
{:toc}
|
||||
|
||||
# Introduction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user