News:markdown is coming to the support site
2
13
Entering edit mode
@schifferl
Last seen 6 months ago
New York, NY

I have recently been working with the Bioconductor core team to add markdown capacity to the support site and am glad to let you know that it will appear shortly. I know it had been a wish list item for a long time and I am really excited I had the opportunity to implement it. Just to be clear, it will be markdown and not rmarkdown, although they are similar. What's markdown? If you don't already know here are some good tutorials.

https://daringfireball.net/projects/markdown/syntax

http://assemble.io/docs/Cheatsheet-Markdown.html

Hope you enjoy! Lucas

markdown News • 3.8k views
ADD COMMENT
0
Entering edit mode

Awesome, thank you!

ADD REPLY
0
Entering edit mode

You should now be able to write a post using markdown, if not you will need to clear your browser cache so a piece of javascript can be loaded. And as a bonus if you surround R code with ``` the syntax will be highlighted.

ADD REPLY
2
Entering edit mode
@schifferl
Last seen 6 months ago
New York, NY

the first syntax highlighted post

merged_eset <- function(assay_data, pheno_data, experiment_data) {
    data.matrix(assay_data) %>%
    ExpressionSet(., pheno_data, experimentData = experiment_data)
}
ADD COMMENT
2
Entering edit mode

Great work. It mostly works, but I've got some comments:

  • It seems like "Add comment" doesn't yet have markdown support (or at least the button).
  • Could we have line wrap in Markdown mode?
  • Quotes get converted to &quot; when I try to edit an existing post in Markdown mode, which is a bit annoying.
ADD REPLY
1
Entering edit mode

Hi Aaron, just an update. You should now see the markdown button in comments – just clear your browser cache if you don't. Still working on the line wraping and quotes issues.

ADD REPLY
0
Entering edit mode

Thank you for finding these issues Aaron! They all seem like pretty reasonable request and I will try and add them along with math support.

ADD REPLY
0
Entering edit mode

Hi Aaron, your request have been implemented – both the line wrap and quotes issues are fixed : )

ADD REPLY
0
Entering edit mode

Let me try writing a long line here. It's a long line, very long line, very very long line and, yes, it does wrap.

Mind blown. Thanks Lucas.

ADD REPLY
1
Entering edit mode

Thanks, this is great!

As was asked at the Bioc-Devel Meeting, could there be support for math markdown?

E.g.

  • $$ \int_{-\infty}^{+\infty}f(x)\;\mathrm{d}x $$
  • \[ \int_{-\infty}^{+\infty}f(x)\;\mathrm{d}x \]
ADD REPLY
1
Entering edit mode

Hi Wolfgang, just wanted you to know the mathjax library has been added and math markdown now works : )

ADD REPLY
0
Entering edit mode

This was a really great question and I think it would be useful for the support site. I will add it using the mathjax library.

ADD REPLY

Login before adding your answer.

Traffic: 603 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6