{{title}} combine semantic text and code as structured text to communicate information. Presentation streams provide a minimal abstraction that can display information on many popular services like Github, nbviewer, speakerdeck, Disqus, Jekyll, bl.ocks, blogs, RSS...
The static presentation of information should promote maturity to an interaction, app, download. Static information that is compliant with HTML and Javascript canp be accessed most broadly.
Markdown is the ideal candidate to represent this type of information
# Jekyll blog information
layout: post
title: Literate presentation streams
A stream is a Github Flavored Markdown document. Code fences separate streams with ```
. Four-tab indents are parts of semantic text. A markdown stream always starts with semantic text. A markdown stream always alternates between semantic text and code.
GFM adds syntax highlighting by default, but it also indicates the language a code block is written in.
- Standard markdown only contains code and not code.
- RMarkdown code-fence parameters do not have meaning outside of R. RMarkdown does very much influence the ability to create many presentation formats, but there needs to be a heavier focus on the web.
- Matlab markup sucks, most people don't even know it exists.
- GFM has a large user base and has proven to be language agnostic.
print('This is python code and output')
This is python code and output
There are many methods to present information, but each method can infer the information in the stream differently.
For example, in the two code cells above:
- The
python
indicates syntax highlighting and Python code - There is a blank markdown cell in between
- One can imagine creating a parser that uses that pattern to control a JSON-ified notebook with input and output code.
- Even without IPython notebook the document renders as Markdown in gist.
some code
<!-- some Bokeh output -->
Haha, how is this going to work? I think it can render in bl.ocks or python notebooks.
extensions:
blocks:
gist:
nbviewer:
notebook: # download nbviwer link
jekyll:
# references at the bottom
references:
jekyll: www.jekyllrb.com
rmarkdown: http://rmarkdown.rstudio.com/
All the major data has been displayed. The most accessible presentation of data is the underlying motive. After the data is presented we make it dance.
console.log('coffeescript')
### Update the list of extensions in this readme ###
d3.select 'ul#ext-list'
.selectAll 'li'
.data d3.entries document.__data__.extensions
.call (s)->
s.enter().append 'li'
.each (d,i)->
d3.select @
.append 'a'
.text d.key