similar to: mkhtml.py: writing HTML documents in Markdown

Displaying 20 results from an estimated 400 matches similar to: "mkhtml.py: writing HTML documents in Markdown"

2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown implementation: > The "&" are escaped in URLs. > > An example: > [Link](http://www.site.com/?param1=value1&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a
2009 May 07
1
homemade fn marker weirdness...
so this is a weird one: http://babelmark.bobtfish.net/?markdown=%3Csup%3E*%3C%2Fsup%3EThe+[distinction]+between+certification+and+qualification%2C+although+vague%2C+appears+to+be+that+under+the+NASED+system%2C+states+did+the+ultimate+*certification*+of+a+voting+system+for+fitness+in+future+elections. Note that the `<sup>*</sup>` is being turned into
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
2006 Dec 29
6
Doubt about standard syntax
I have a doubt about the standard syntax (actually, it's the only test that maruku doesn't pass yet). Lists MUST be preceded by an empty line? So the following are only 4 paragraphs, without list items, right? ----------- Paragraph and no space: * ciao Paragraph and 1 space: * ciao Paragraph and 3 spaces: * ciao Paragraph and 4 spaces: * ciao ----------- In other words, a
2006 May 02
2
Bug: invalid nesting of inline markup across link labels
Hi John, there?s a bug in Markdown.pl: [foo*bar](#) [baz*quux](#) This expands to the following: <p><a href="#">foo<em>bar</a> <a href="#">baz</em>quux</a></p> Those `*` should either be disregarded or the tags should nest correctly: 1. <p><a href="#">foo*bar</a> <a
2011 Apr 07
1
ol start with a specific number?
We recently received a request and working patch for Python-Markdown which adds support for starting an ordered list with the number given on the first line. For example: 3. Foo 4. Bar would result in <ol> <li start="3">Foo</li> <li>Bar</li> </ol> I'm not opposed to adding this, but I noticed that no other implementation
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
2006 Dec 30
3
problems with escaping backticks
I can't escape backticks if on a line with other code: $ echo 'maybe use `fixed face` for `/path/to/file` by using \`back ticks\` around it' | /usr/pkg/bin/Markdown <p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by using \<code>back ticks\</code> around it</p> and this is even more wrong: $ echo 'maybe use
2006 Dec 30
4
Escaping inside code blocks?
I am doing unit-tests for Maruku and every once in a while I run into some doubts. I am posting a lot to the list, but all of these messages should be in-topic (tell me if not). Consider the input: --- `There is a literal backtick (\`) here.` `There is a literal backtick (\\`) here.` ``There is a literal backtick (`) here.`` --- The documentation says that line 2 and 3 are equivalent.
2006 Jul 08
2
numbered list bug in markdown.pl?
Hi, I'm getting what I believe to be a bug. If I put the following in markdown: 1. This is a numbered list 2. Blah 9. This is another list item 10. Ok, weird bug here 11. It's really bothering me And when I run it through markdown.pl 1.01 I get out the following: <ol> <li>This is a numbered list</li> <li>Blah</li> <li>This is another
2007 Jun 14
6
Revisiting mime-types and file extensions
Hi, I'm in the process of adding support for Markdown to a minimal CMS in Rails, [Railfrog][railfrog], which uses mime types to select appropriate processing. I have had a look through the archives but have not been able to see that a consensus has emerged as to what such a mime type for Markdown should look like. My reading of the RFCs suggests that it should be within the "text/*"
2006 Dec 29
3
Leading blank lines in codeblocks ignored?
(In the following I write <tab> because my MUA strips tabs) Consider the code: ---- Paragraph <tab> <tab> Line <tab> ---- or even: ---- Paragraph <tab><space> <tab> Line <tab> ---- Markdown.pl ignores the leading blank line in the code block. Is this intended behaviour? -- Andrea Censi "Life is too important to be taken
2011 Jul 29
0
HTML sanitization
Hi. I'm going to add HTML sanitization to markdown-js, and I wanted to hear about other people's experience with this. This mail is long, should take about five minutes to read, but I'll be wasting a lot more time than five minutes if I go down a dead-end rabbit hole on this. From my comments on [the issue on GitHub][]: [the issue on GitHub]:
2008 Jul 25
1
+ in email addresses - edge case with a lot of variation between implementations.
http://babelmark.bobtfish.net/?markdown=%3Ca%2Bb%40c.org%3E&normalize=on Only Python markdown, Pandoc, discount and PEG markdown seem to get this 'right'. As a + is perfectly valid in email addresses, I'm going to fix this in my modules. This was reported to me via the cpan.org RT (37909), and I thought I'd share as it's a good one in Babelmark. Cheers Tom
2006 Dec 27
4
Maruku: a better Markdown interpreter for Ruby.
Hello to all! Maruku is a Markdown interpreter written in Ruby. It is released under the GPL. Maruku implements the original Markdown syntax and all the improvements in PHP Markdown Extra. Moreover, it implements some ideas from MultiMarkdown, and adds a syntax for specifying metadata for block elements. Unlike Bluecloth, Maruku creates an in-memory representation of the document tree, and this
2011 Feb 09
3
code span doesn't preserve space
Consider this code span: `grep ' '`. All implementations listed on [babelmark](http://babelmark.bobtfish.net) just simply wrap it as: <code>grep ' '</code> Viewed in browsers, the above code is equivalent to: <code>grep ' '</code> I think spaces should be preserved in code span,which maintains consistence with code block. For
2007 Oct 06
4
seemingly no good way to end bulleted list and start code block
Howdy, The following bug report was sent to the Debian BTS. Is there a way to have a code block immediately follow an unordered list? ----- Forwarded message from Joey Hess <joeyh at debian.org> ----- Consider this markdown: * bla * bla2 this should be treated as code block and it is not ... but if bullets are not above this, it works If the first code block is indented with
2010 May 01
4
using markdown in a forum?
Hi, Is markdown a good language to use in a web forum application? How does it compare to bbcode in features and ease-of-use for non-technical users? I'm thinking of using jquery-markedit in that forum app. Thanks, -- http://www.cruisefish.net
2010 Mar 01
3
multiline header
Hi, first of all thanks for such a great syntax, so far it's the best I know! I have a document with quite long titles and I was wondering if it was possible to hard-break them: e.g.: This is a veeeeeeeeeeeeeeeeeeerrrrrrrrrrrrry long title ======================================================= would be This is a veeeeeeeeeeeeeeeeeeerrrrrrrrrrrrry
2006 Apr 28
6
Emphasis or Italic?
What's the difference between: <em>emphasis</em> and <i>italicized</i> and <strong>strong</strong> and <b>bold</b> It seems to subtle for my browsers. The only "difference" I've been able to find is that according to the O'Reilly book <strong> and <emphasis> are semantic tags, while <b> and <i>