1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-24 02:16:10 +01:00

switch markdown parser to kramdown

- so we get easy TOC functionality for whitepaper
This commit is contained in:
Matthias Kretschmann 2016-01-17 18:29:04 +01:00
parent f41a33f0ac
commit 36695953c9
5 changed files with 56 additions and 2 deletions

View File

@ -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']

View File

@ -36,6 +36,7 @@
// Content types
@import 'bigchain/_content-page';
@import 'bigchain/_comments';
@import 'bigchain/_toc';
// specific page styles
@import 'page-front';

View 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;
}

View File

@ -171,6 +171,7 @@ ol {
}
ul,
ol {
margin-top: ($spacer / 2);
margin-bottom: 0;
}
}

View File

@ -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