FAQ Database Discussion Community

## authomatic dates in R markdown beamer [duplicate]

r,markdown,beamer
This question already has an answer here: YAML current date in rmarkdown 3 answers I am using R Markdown to produce a Beamer presentation. How can I put the date that authomatically updates his values? The current setting are below: title: "MyTitle" author: "MyName" date: "19th April 2015" output:...

## Jekyll: including a post inside another post

include,markdown,jekyll,yaml-front-matter
Does Jekyll provide a way to include a post inside another post? I know that sounds a bit goofy, but I'm using it for a cooking/recipe site. Some of my recipes are made up of components, or other, smaller recipes. I'm looking for a way to include a handful of...

## Replace number with text using regex

regex,markdown
I need to go through a file and replace all instances where an issue is mentioned using the Github convention #xxx (where xxx is the issue number), with a link to the issue using the Markdown format. So for example, this: #143, #99 should be converted into this: [#143](https://github.com/repo/issues/143), [#99](https://github.com/repo/issues/99)...

## Reference an image in BitBucket readme.md

image,git,markdown,bitbucket
I have stored readme.md file and an image file in a BitBucket repo as follows: readme.md images/ scheme.jpg I reference the image from readme.md as follows: ![Scheme](images/scheme.jpg) Can I somehow reference the image from readme file so that it renders when viewed in BitBucket? In tutorial there is only http...

## How to make this function apply on each matched element in the following JsonML?

javascript,json,markdown
I have the following JsonML generated via markdown-js: [ 'markdown', [ 'para', 'This is a paragraph.' ], [ 'para', 'Another paragraph' ] ] What I'm trying to do is to add the class noind to each paragraph tag. Full code: var text = "This is a paragraph.\n\n" + "Another paragraph"...

## Meteor.js way to show markdown from another link

meteor,markdown
I have a README.md file in github repository. I want to show contents of README.md file in my website as well. But I don't want to copy contents of README.md file and place it inside markdown file as below. {{#markdown}} //copy of README.md file {{/markdown}} Is there way to do...

## Common Markdown Code Syntax for Kramdown

markdown,jekyll,kramdown
Is there any way to modify Kramdown through configuration options which will allow me to use Common Markdown/GFM fenced code block syntax, i.e.  here's the code!  I'm switching to Kramdown for my blog so I can have Markdown inside other elements, but most of my blog uses GFM...

## code block inside table row in Markdown

markdown,github-flavored-markdown
I am putting together some documentation in Github flavoured Markdown and I want to put together a table that has two rows. One with simply text and one with a json code block. Heres an example. | Status | Response | |---|---| | 200 | | | 400 | |...

## Is there any markdown tools that support task lists

markdown,github-flavored-markdown
I have googled for a long time but can not find any tools that support task lists in GFM. I tested this line in the tools: - [x] This is a complete item StackEdit, misaka, marked and so on, NONE of them worked while most of them claim support GFM....

## How to create a paypal form display in github README

github,markdown
What I am trying to do is, Display the paypal donation form into github project README.md file Using the html markdown display it as html rather than rendering the button with form. HTML // here goes the html of the paypal form any thoughts ?...

## suppress console output in r markdown, but keep plot

r,markdown,rstudio
Hi I have the following markdown chunk: {r, echo=FALSE,warning=FALSE,message=FALSE,error=FALSE} lapply(obj,function(x) plot(x,main="some plot") box() axis(1,at=seq(0,25,by=1))  The output is multiple plots. However I also get the console message in the pdf document underneath the plots. <Plot 1> nice plot 1! <Plot 2> nice plot 2! -- nasty horrible console output ##...

## Split the title onto multiple lines?

r,yaml,markdown,rstudio
In an R markdown document (html and presentations), is it possible to manually split the title onto multiple lines? I tried playing with pipes which produces orrendous output. --- title: 'A title I want to split on two lines' author: date: output: ioslides_presentation --- ...

## R: Repeating values in table

r,markdown
I am trying to merge two tables, but am getting repeated values. This is my code: {r,echo=FALSE} IdaEmpA <- data.frame(matrix(table(DadosA$idade, useNA = "always"))) colnames(IdaEmpA) <- "QA" IdaEmpA$percent <-...

## Go: How to use the func() bool arguments in go?

go,markdown
This is a sample code from the Go blackfriday package: package main import ( "bytes" "fmt" "github.com/russross/blackfriday" ) func main() { input := []byte(##Title - another paragragh This is a being rendered in a custom way. ) htmlFlags := 0 renderer := &renderer{Html: blackfriday.HtmlRenderer(htmlFlags, "", "").(*blackfriday.Html)} extensions := 0 unsanitized...

## Markdown compiling images with paragraph tags

markdown,jekyll,liquid,github-pages
This is just a simple problem but it's one that I can't find on Google to solve this. Basically what is happening is that I have a Jekyll website, and I'm using kramdown for the markdown compiling. When I add an image to a markdown file like below: ![Image Alt...

## Wrong number of arguments (1 for 0) error when calling markdown method

ruby-on-rails,ruby,markdown
All, I just created markdown_title and markdown_body methods. When I go to the show view page for my Post model I am getting the error: Wrong number of arguments. I believe my markdown_title method(also for markdown_body) might be constructed incorrectly below in the post.rb file. Is this the culprit?: class...

## Jekyll redcarpet render Table with frame

markdown,jekyll,github-pages,redcarpet
I had the same problem as in Table not render when use Redcarpet in Jekyll GitHub Pages? And I used the answer to get table rendering into my github Jekyll page. But it does not render the frame or lines of the table. Is there the possibility to get a...

## How do you escape pipe character in bitbucket markdown?

special-characters,markdown,bitbucket
I would like to add the following to a bitbucket wiki: Key | Description |Default | :-----------|:----------------------------------------------|:--------------| env |Execution context {development|test|production}|development | Markdown has a backslash escape for many characters, but not pipe (|). I saw one solution using {development&#124;test&#124;production} but this does not work as you can't use html...

## Formatting GitHub commit messages from shell

github,markdown
I just read Writing good commit messages and liked it a lot. The problem is, I prefer the command line (plain ole' git). How can I add newlines and tabs to commit messages, so as to have a "summary line" and message body (which may consist of several paragraphs)? Does...

## how to reference code in Markdown?

html,css,html5,markdown,jekyll
I write markdown file mainly for my jekyll blog, so liquid method is okay When inserting raw HTML code in to markdown. The whole markdown code page seems ugly and confused. And it will be difficult to modify days later. So can I just make some of code be reference-style....

## Jekyll raw HTML in post

markdown,jekyll,github-pages,kramdown
I have a Jekyll website, with Posts written in Markdown using the Kramdown parser. I would like to add some raw HTML within the post. However when I try to add the HTML, it parses it as markdown (changing <'s to &lt; for example). I have tried: Adding the HTML...

## use markdown module in Angular.js , it doesn't turn to the html element

angularjs,markdown
i use the markdown module in node.js , when i get some text from mongodb , i turn it to markdown : newsList.forEach(function (news) { news.publishContent = markdown.toHTML(news.publishContent); }) and send the data to the html via angular : <p ng-bind="nl.publishContent" ng-show="!isEdit"></p> but the result in the html page is...

## Jekyll kramdown how to display table border

table,border,markdown,jekyll,kramdown
I am using Jekyll default kramdown. I have a table showed using surround text, etc. | Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered |$12 | | zebra stripes | are neat...

## Markdown reverse ordered list?

markdown,rmarkdown
Is there a way to display a reverse-ordered list in plain Markdown? I read about the HTML "reverse" option (How to display a reverse-ordered list in HTML?, http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_ol_reversed) but would favor a Markdown solution if that exists. To clarify, is there a way to write something like: 0. Coffee 0....

## Indent and wrap consecutive matching lines with string

regex,bash,awk,sed,markdown

## Jekyll won't parse Markdown

markdown,jekyll
I'm running Jekyll on Windows 8.1 and can't get Jekyll to parse any Markdown on my site; it just gets pasted as plaintext on the page. However, making a new site with jekyll new blog and running it with jekyll serve works just fine, including Markdown parsing, so it's not...

## Aglio does not allow parameters in the body to be defined as parameters

rest,markdown,apiblueprint,aglio
Aglio, an API Blueprint renderer, does not allow parameters in the body of a request to be included in the parameters section of the the Endpoint specification. It throws parse warning as follows: parameter '<some_parameter>' not specified in '<some_description>' its '<some_URI_template>' URI template (warning code 8) A sample Markdown which...

## Is it possible to have custom numbers in ordered lists in markdown?

markdown,pandoc
Say, I need a list (for indentation purposes) of the following format: (1a) Bla (1b) Bla (2a) Bla (2b) Bla Is there a way to do this in markdown?...

## Sublime Text - spell check but only certain file extensions

markdown,sublimetext,spell-checking
There's no point of enabling spell check for your html/js/css/c/php/py/etc files, but it can be very useful when you are writing in Markdown. How to enable spell check only for only certain file extensions?...

## Bulleted List with bullet flush left and Hanging Indent

html,markdown,indentation
I'm looking for the proper way to code a bulleted list, in html or markdown, with the bullet flush left, a tab space after the bullet and a hanging indent directly under the bulleted line. I've tried hacking it together with spaces, and various lists but nothing looks good. Any...

## Continue Enumeration after Code Block?

markdown
I have a Markdown enumeration: sdsdf sdfsdf some code 3. sdfsdf The 3. is shown as one because of the code block. How can I insert a code block in one of the enumeration steps and let the enumeration counter continue correctly after the counter?...

## Markdown syntax highlighting not working as expected

javascript,markdown,syntax-highlighting,sublimetext,sublimetext3
In Sublime Text 3 I am using the package Markdown Extended and Markdown Preview to build the Markdown documents I write. I am trying to get nicely formatted JavaScript code, however, for some reason it isn't being built and displayed correctly. In Sublime, the code is highlighted and looks great,...

## Jekyll: Dealing with Images in Markdown

image,markdown,jekyll,image-gallery
I've got a design for my post page that is made up of text and images, more specifically, galleries. Take a look at the illustration below: I've got these galleries set up my front matter like so: --- gallery-1: rows: - images: - { url: '1.jpg'} - images: - {...

r,markdown,knitr

## Pandoc 1.13.2 outputs html table as text

markdown,pandoc
Take this tst.md file (in Markdown) % Test document <table> <thead> <tr > <th>A</td> <th>B</td> </tr> </thead> <tbody> <tr > <td>1</td> <td>2</td> </tr> <tr > <td>3</td> <td>4</td> </tr> </tbody> </table> End of test file and run it with pandoc 1.13.2 to transform it into html pandoc -s "test.md" -o test.html...

## R Markdown could not find function [closed]

r,markdown
Running Compile Notebook from RStudio. I am getting: Error: could not find function "SegNeigh" "SegNeigh" being my own function, properly sourced; the script runs fine without R Markdown. Any help appreciated....

## How do you specify request body attributes in Apiary.io / API Blueprint?

markdown,apiblueprint,apiary.io
I'm trying to figure out how to describe/define the request body attributes/parameters for POST/PUT. Here is an example of what I'm trying to do, but I can't find it anywhere in the documentation (I wish there was a way to view the markdown of any public Apiary doc): http://docs.bynder.apiary.io/#reference/metaproperties/metaproperty-access/save-new-metaproperty See...

## Grouping MarkDown elements in to DIV element or Custom html tag

html,markdown,jekyll
I have used Jeykll tool to generate mark down content into HTMl . I want to group the below mark down elements in to div element or any other custom Html tag. Marked Down #Multiple Axis {:.title} Different types of data can be visualized in a single chart with the...

## Jekyll: Using liquid tags in .md files

html,markdown,jekyll,liquid
I am working on a project using Jekyll. Looking online, it seems that it is possible to use liquid tags in a markdown file. For some reason, the liquid tags are not working in my markdown files. I want to use the liquid "capture" tag to store text in a...

## Replace many arbitrary markdown links with grep/sed

regex,bash,sed,grep,markdown
I have a large set of markdown files that I need to go through and replace many of the links. Each link that needs replacing is preceded by the same string, say Foo bar, and then the customary markdown link syntax follows: [arbitrary name](address). For example, Foo bar [arbitrary link...

## Extracting URL and anchor text from Markdown using Python

python,regex,markdown
I am attempting to extract anchor text and associated URLs from Markdown. I've seen this question. Unfortunately, the answer doesn't seem to fully answer what I want. In Markdown, there are two ways to insert a link: Example 1: [anchor text](http://my.url) Example 2: [anchor text][2] [1]: http://my.url My script looks...

## Nested bullets in markdown for Github

github,markdown
I have the following text inside a Markdown file: - In order to free : - Items no rateados por exp: javascript db.items.find({"detail.rc": {$lt: 20}, "dst": "v"}).count() db.items.find({"detail.rc": {$lt: 20}, "dst": "b"}).count()  - Items no rateados por exp y sin rat: javascript db.items.find({"detail.rc": {$lt: 20}, "dst": "v"}).count() db.items.find({"detail.rc": {$lt:...

## how to insert image from url in markdown

r,graphics,markdown
The way to insert an image to markdown file is (and it is outside "{r}") <center><src="http://ia.media-imdb.com/images/M/MV5BMTg4NzEyNzQ5OF5BMl5BanBnXkFtZTYwNTY3NDg4._V1._CR24,0,293,443_SX214_AL_.jpg"></center> But I want to make url as a variable. So I tried something like this: {r, result='asis'} url <- "http://www.online-image-editor.com//styles/2014/images/example_image.png" print(paste("<center><src=\"", url, "\"></center>", collapse=""))  But it doesn't work. The result I get ##...

## Create a partial using rendered html (from markdown) in Jekyll

markdown,jekyll
I am trying to create nested collections in Jekyll and render the nested ones as partials. I have two collection types: Areas (which contain many...) Trails Currently I am running into issues rendering all the trails on an "areas page". I want an area to list all trails, all of...

## Add sections to beamer presentation using rmarkdown and knitr

r,latex,markdown,knitr,rmarkdown
I am trying to add section slides to a beamer presentation written in rmarkdown using the latex command \section{}. However, it gets inserted between a \begin{frame} & \end{frame} automatically during the conversion, which causes the compilation to fail. Is there any way to stop this happening so that the section...

## rmarkdown: page break within a chunk?

r,markdown,knitr
Is it possible to make each of the numbers show up on a separate page? --- title: "Page Break In Chunk" output: pdf_document --- {r} for(i in c(1:10)) { print(i) } ` ...

## Is there Task Completion info on GitHub Issues API?

github,markdown,github-api,github-flavored-markdown
On GitHub Flavored Markdown you can write something like: - [ ] Subtask 1 - [ ] Subtask 2 - [x] Subtask 3 This will render as a list of three checkboxes, the last one checked. That also gives a nice bonus to Issues listing as it includes a progress...