We also agreed that Scholarly Markdown is a better term than Markdown for Science, as it also includes the Social Sciences and Humanities. And we agreed on a hashtag, #scholmd.
I like #3 and #4, and I was not surprised to see #1. #2 is one of the most important outcomes of the workshop for me personally, and was reflected in the discussion we had in the breakout session on What is needed for Markdown to be adopted by the scientific community? One important strategy is the following:
We need an online tool that makes it easy for scholars to write scholarly markdown in a collaborative manner.
We called this the Google Docs for Scientists (Google Docs is a good collaborative tool, but is lacking some important features required for scientific documents, e.g. integrated citation management). Authorea was mentioned as a promising example of this concept. It was also noted that some previous efforts failed, because the tool looked too different from Microsoft Word. But building such a tool wouldn’t really require markdown as a file format, and could for example also be done directly in HTML5. This would be a reasonable strategy, but in my mind is falling short because I think the problem we need to solve is more complicated than making collaboration easier with tools that look like Microsoft Word. We therefore also discussed a different strategy:
We need multiple tools that make it easy for scholars to create scholarly markdown documents and openly share them. This collaborative work is not limited to authoring scholarly papers, but also includes shorter scholarly texts, e.g. experimental results, lab notebooks, lecture notes, blog posts and working papers. Ease of use is not only defined by the writing experience, but also how easy it is to share documents with others.
This definition almost sounds like a definition for Open Science, and assumes that data - and increasingly software - are an integral part of reporting science. This makes reproducibility of scientific results much easier, and one nice example how this can be done is the integration of markdown into the R statistical software, using the knitr package. Using the May 2013 PLOS article-level metrics data which are freely available for download, the R code below can be embedded into a markdown file and will produce the bar plot below when the markdown file is run in R (to try this yourself, download the ALM data and markdown file for this article).
# Load required libraries library(reshape2) # Load the data from the bulk download, filter out DOIs that are not from PLoS journals alm <- read.csv("data-alm/alm_report_2013-05-20.csv", encoding = "UTF8", sep = ",", stringsAsFactors=FALSE, na.strings=c("0")) alm <- subset(alm, (substr(alm$doi,1,15) == "10.1371/journal")) alm$publication_date <- as.Date(alm$publication_date) alm$counter_html <- as.numeric(alm$counter_html) # Options plos.start_date <- NA plos.end_date <- NA plos.colors <- c("#304345","#304345","#789aa1","#789aa1","#789aa1","#ad9a27","#ad9a27","#ad9a27","#ad9a27","#ad9a27","#ad9a27","#ad9a27") # Aggregate notes and comments alm$comments <- as.numeric(alm$comments) # Aggregate Mendeley alm$mendeley <- rowSums(subset(alm, select=c("mendeley_readers","mendeley_groups")), na.rm=TRUE) alm$mendeley[alm$mendeley == 0] <- NA # Use subset of columns alm <- subset(alm, select=c("counter_html","pmc_html","crossref","scopus","pubmed","mendeley","citeulike","comments","researchblogging","facebook","twitter","wikipedia")) # Calculate percentage of values that are not missing (i.e. have a count of at least 1) colSums <- colSums(!is.na(alm)) * 100 / length(alm$counter_html) exactSums <- sum(as.numeric(alm$pmc_html),na.rm =TRUE) # Plot the chart. opar <- par(mar=c(1,7,2,1)+0.1,omi=c(1,0.3,1,1)) plos.names <- c("PLoS HTML Views", "PMC HTML Views","CrossRef","Scopus","PubMed Citations", "Mendeley","CiteULike","PLoS Comments","Research Blogging","Facebook","Twitter","Wikipedia") y <- barplot(colSums,horiz=TRUE,col=plos.colors, border = NA, xlab=plos.names, xlim=c(0,120), axes=FALSE, names.arg=plos.names,las=1, adj=0) text(colSums+6,y,labels=sprintf("%1.0f%%", colSums))
In a way this approach to scholarly markdown is much more difficult than building a nice online collaborative writing tool. But for me scholarly markdown is not about competing with Microsoft Word, it is about building something new that scholars want to use because it allows them to do something that is impossible with the existing tools. For the same reason my todo item at the end of the workshop was think about document type where markdown shines. The R example above is a great example where markdown shines. If you can think of additional examples, please add them to the comments.
What Flavor is Scholarly Markdown?
One important outcome of the recent Markdown for Science workshop was an overall agreement that all the different implementations (or flavors) of markdown that currently exist are a big problem for the adoption of Scholarly Markdown and that we need:A ...
Six Misunderstandings about Scholarly Markdown
In this post I want to talk about some of the misunderstandings I frequently encounter when discussing markdown as a format for authoring scholarly documents.Scholars will always use Microsoft WordMicrosoft Word is of course what almost all authors use ...
Metadata in Scholarly Markdown
Scholarly documents often need metadata that describe them: typically author(s), title and location (DOI or URL), but possibly many other things. For some metadata it makes sense to store them in the document text, e.g. as is typically done for citations. ...