similar to: trailing spaces in code block

Displaying 20 results from an estimated 9000 matches similar to: "trailing spaces in code block"

2009 Oct 19
2
Treetop or like grammar for Markdown (in Ruby)
Has anyone seen any attempts to give Markdown a PEG (parsing expressions grammar) recognizable by some ruby PEG parser generator grammar like Treetop? http://treetop.rubyforge.org/
2008 Apr 06
1
markdown PEG (parsing expression grammar)
There's been a lot of discussion on this list about creating a formal grammar for markdown. I had a go at writing a [parsing expression grammar] for markdown. I used Haskell and John Meacham's Frisby PEG parsing library, but it should not be too hard to port the grammar to PEG libraries in other languages. [parsing expression grammar]:
2015 May 24
6
NEWS.md support on CRAN
John MacFarlane, the author of Pandoc, has been working on a project ( http://commonmark.org/) to define a standard reference for Markdown*. There are already two reference implementations, one in javascript, the other in C: https://github.com/jgm/cmark Regards, baptiste * There was some initial controversy with the original author of markdown, but in the long term it's probably one of the
2006 Aug 10
1
pandoc - an implementation of Markdown in Haskell
I've just released an early version of a Markdown implementation in Haskell (using the Parsec parser combinator library). pandoc converts Markdown to HTML, LaTeX, reStructuredText, rich text format, and S5 HTML slide shows. It partially converts HTML, LaTeX, and reStructuredText to Markdown. It also makes it easy to include LaTeX math on HTML pages, using Peter Jipsen's ASCIIMathML.js.
2012 Sep 12
2
inline link syntax question
I don't believe this question has been discussed before on this list: Should whitespace be allowed between the bracketed and parenthesized parts of an inline link? For example, [foo] (/url) The markdown syntax documentation says explicitly that a space is allowed between the two parts of a *reference-style* link: > Reference-style links use a second set of square brackets, inside
2008 Sep 08
13
list corner case
I'm curious how people think the following *should* be interpreted: - one 2. two http://babelmark.bobtfish.net/?markdown=-++one%0D%0A2.+two%0D%0A%0D%0A As you can see, implementations split into three groups here: (a) treat as an unordered list Markdown.pl, Python markdown, MultiMarkdown, BlueCloth, MarkdownJ, Showdown (b) treat as an unordered list with an ordered
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 9:15 PM, Imanuel Costigan wrote: > While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio That isn't really any simpler. RStudio is just displaying HTML whenever it shows you anything in the Help pane. or being about to run something like show_news(?packagename?).
2011 Apr 11
2
CodeDown = Markdown as the universal language for program documentation
Dear Markdown enthusiasts out there! Sure, I don't need to tell you how great an versatile Markdown is for writing standard documents. I think, that it would make a really great universal standard as a programming documentation language, too, and maybe "CodeDown" would be a good title for this approach. The idea started when I was trying to document some PHP scripts. I need to
2008 May 03
1
markdown implementation in C using PEG grammar
I've just uploaded an implementation of markdown in C. It defines the syntax using a PEG grammar, so it should be easy to extend and modify. Right now it can produce output in either HTML or LaTeX, but it would be simple to add other output formats. It's very fast: on my machine, it converts a 178K markdown file in 0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57 seconds
2009 Feb 25
1
Cpp-Markdown 1.00
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm happy to announce that the Cpp-Markdown project is now available. Cpp-Markdown is a Markdown-to-HTML translator written in C++, and meant for use within C++ programs (rather than web applications). The code is still a little rough around the edges, but the results are pretty good: it passes all 23 tests in the Markdown test suite, and 12 of
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 10:26 PM, Imanuel Costigan wrote: > >> On 24 May 2015, at 12:07 pm, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >> >> On 23/05/2015 9:15 PM, Imanuel Costigan wrote: >>> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio >>
2011 Jun 06
5
Data loss issue: Adjacent List Types
Esteemed human authors and robotic parse-bots: I recently discovered that most or all Markdown implementations, including Gruber?s original in Perl, have an odd behavior with regards to lists that follow each other. Namely, a bulleted list followed by a numbered list, or vice-versa, is masked as if it were part of the first list (and of the first list?s type.) For example, consider the following
2011 Oct 20
6
maybe a year ago, but not today
sherwood said: > If agreement is reached, then the group > looks at variants 6,7,8,9 and inquires > if they would like to join in this effort. well, that kind of leveraged consensus would have been the way to go about this process a year ago. but not today. > Has anyone collected a would-be canonical list > of either the ambiguous cases in original MD, >
2008 Feb 29
4
evolving the spec (was: forking Markdown.pl?)
> Anyway, a spec for Markdown Extra would contain a spec for Markdown as > well, wouldn't it? I think the whole enterprise would be a lot more valuable, if we produce a combined spec, which would be self-contained, and call it Markdown 2.0. I don't think we necessarily need a formal grammar. What we need is to create a document, starting with "Markdown Syntax" perhaps,
2007 Sep 02
1
[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks
PHP Markdown v 1.0.1i and PHP Markdown Extra v 1.1.5 generate invalid HTML for code blocks Take this input: paragraph codeblock Markdown will generate: <p>paragraph</p> <pre><code>codeblock </pre></code> Notice the wrong position of the closing code tag. -- Milian Wolff http://milianw.de
2015 May 23
6
NEWS.md support on CRAN
On Sat, May 23, 2015 at 8:14 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: [...] > I think the harder problem is display. CRAN can run pandoc, but can > users who install the package from source? I would expect some obscure > platforms (like Windows ;-) would not have it available. > [...] I don't think pandoc is the best way to go with NEWS.md (and README.md,
2011 Aug 10
8
Universal syntax for Markdown
Hi, because of the great editor "Writer" from Information Architects I've learned about Markdown and I love it. But it's very confusing, that there are so many standards with different features: classical Markdown, Markdown Extra, MultiMarkdown. I think for most users and the spreading of Markdown it would be nice, to have only one syntax. And this universal syntax should have
2011 Feb 13
1
Should leading and trailing spaces between backticks be preserved?
Hi folks, Yesterday I raised an issue about inconsistent preservation of whitespace<http://www.freewisdom.org/projects/python-markdown/Tickets/000087>in Python-Markdown. >>> import markdown >>> md = markdown.Markdown() >>> md.convert('Added `>>> ` to signify user input.') u'<p>Added
2006 Dec 23
2
Markdown to LaTeX?
Does anyone know of a Markdown to LaTeX converter? I guess I could use HTML-Latex perl module. But Markdown direct to LaTex might be better. Or maybe I will adjust your Markdown.pm to do LaTeX output. Thanks
2008 Mar 22
7
Babelmark
I'm currently attempting to write a spec for parsing Markdown Extra, and since one goal is to minimize the differences in output between implementations, I've made a tool allowing me to compare who does what for any given input. I hope this can also facilitate future discussions about the syntax. So here's Babelmark, a testbed for various Markdown implementations were you