similar to: Doubt about standard syntax

Displaying 20 results from an estimated 2000 matches similar to: "Doubt about standard syntax"

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
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
2006 Oct 07
6
Minor regexp oversight for setext headings
Noticed the patterns for setext style headings are: ^(.+)[ \t]*\n=+[ \t]*\n+ Should be: ^(.+?)[ \t]*\n=+[ \t]*\n+
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 Dec 30
4
best way to use emphasis within code?
I want to use fixed font like a code block but also use italics and bold at same time. For example in HTML: <tt>$ <b>mail -u <i>user</i></b></tt> What is the best way to do this in markdown, especially if I have several lines of content that needs to be spaced out correctly? Thanks Jeremy C. Reed
2007 Jan 02
3
Revised - Revised 2005 proposal for meta-data
Happy new year! This is the revised revised proposal: http://maruku.rubyforge.org/proposal.md http://maruku.rubyforge.org/proposal.html http://maruku.rubyforge.org/proposal.pdf I wait for comments. -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi
2007 Mar 06
1
I''m crashing my head on this
I get this error: ERROR -- Invalid page file </Users/andrea/06MELANIA/censi-2006/andrea_web_site/wg/src/index.page>: Invalid structure of meta information part on a file that starts with: --- title: Sample hello page inMenu: true --- which is copied from one of the examples. I attach the whole file. -- Andrea Censi "Life is too important to be taken seriously" (Oscar
2007 Mar 04
5
div & span support
> [John Fraser:] Being able to wrap Markdown text in divs and spans ... I find div and span tags quite useful. Here is an example of the syntax I'm presently using. [[ {#orchard} Contents of div here. And ~this{.plum}~ is how I do spans. ]] becomes <div id="orchard"> <p>Contents of div here. And <span class="plum">this</span> is how I do
2007 Mar 09
3
Transformation order
I see that the well-defined order for transforming a page to HTML is: - Transform the content using the content converter ... - Replace tags I think it should be the other way around. I wrote this plugin that transform {flickr: <url of the photo>} into something like: <div> Foto, caption, etc. </div> Now, because of the order of transformations, the
2007 Jan 17
3
reference-style/shortcut syntax
I also agree that single bracket reference-style syntax is not prudent. As Jacob suggested, it creates ambiguity for the reader (Is it an edit or a link?). It also creates a new problem of potential conflict, however rare that may be. It seems reasonable to prefix a marker colon (possibly followed by whitespace): [:ref link] or [: ref link] And perhaps the same for attributes: {:att ref} or {:
2007 Mar 05
1
Creating a simple tag plugin
I want to create a tag processor that is activated by something like: {flickr: http://www.flickr.com/photos/censi/232006603/} (it then downloads from flickr the description of the photo -- look for example at http://www.dis.uniroma1.it/~acensi/category/sss06.html) This is my flickr.rb: load_plugin ''webgen/plugins/tags/tag_processor'' module Tags class FlickrTag <
2006 Dec 29
3
Revised 2005 proposal for meta-data
Hello to all! This is the revised 2005 proposal for meta-data, much more in detail: http://maruku.rubyforge.org/proposal.md http://maruku.rubyforge.org/proposal.html http://maruku.rubyforge.org/proposal.pdf I wait for comments. At the end of the document, there are some open issues. And I need a regexp wizard to look over the "grammar" section. Cheers, -- Andrea Censi
2007 Mar 17
1
Webgen and incremental generation (nukumi2 did it)
> There is already a plugin in the feature request tracker (created by > Fritz Heinrichmeyer) which provides blogging and rss support > (although for webgen 0.3.8). Based on this and comments of other > people I have taken notes so as to what one would expect from such a > plugin and when I have enough time I will post them to this mailing > list for further discussion! I add
2007 Aug 27
2
Benchmarks with TextMate's manual
The following benchmarks have been obtained using the TextMate manual as the input source: <http://macromates.com/textmate/manual/source.tbz> Using PHP Markdown, parsing the 24 files separately (with the reference file appended to each of them), I get this (on an iBook G4 1.2 Ghz): Total Avg. Min. Q1. Med. Q3. Max. Parse Time (ms):
2006 Oct 03
3
Make.text
I've written a bookmarklet, Make.text, for turning a web page into Markdown syntax. It works in Firefox 1.5 (Linux and Mac), Safari 2 (Mac), Konqueror 3.5 (Linux), and Opera 9 (Linux and Mac). It does not work in Internet Explorer (and I don?t have a Windows machine to debug it on). You can get it here: http://homepage.mac.com/tjim/ -Trevor
2007 Feb 02
3
S5 slide show system
S5 - http://meyerweb.com/eric/tools/s5/ - is an html-based slide-show system. It produces professional-looking slideshows from text with a little xml markup. Has anyone tried using Markdown to generate S5 slide-shows? I think this would be a pretty neat system. I'm thinking a level-1 header could be the slideshow title, and level-2 headers could define individual slides. Any thoughts? - Dan
2007 Mar 30
4
Current status of webgen 0.4.3 and 0.5.0 (new plugin system)
Hi everybody! As the easter holidays have now finally arrived and all the exams are over, I will have more time for webgen again! Summary ======= * Changes included in the upcoming 0.4.3 release * webgen repository * Status on 0.5.0 * Detailed information on the new 0.5.0 plugin system Changes for 0.4.3 ----------------- I have collected all mails/forum entries/ML postings in which bugs
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/*"
2007 Mar 04
1
Questions about tags
Two questions about tags: 1) How can I disable tags execution? In my webpage I use a lot of "{" "}" (LaTeX / Bibtex); also Maruku uses the brackets for uses; plus, I don''t need tags. 2) Is it possible to change the magic characters "{" and "}"? Ok, not really a question -- the answer is no, I looked at the source code. If it was possible to
2007 Mar 05
1
Changing the order in the menu for a directory
I find the file metaconfig.yaml very useful and I use it for setting the title and order of files. However, I can''t find a way to change the order of a directory. Consider the file layout: index.page dir/sub1.page I want to choose whether the order in the menu is [index,dir] or [dir, index]. I tried with: dir/: orderInfo: 1 or dir: orderInfo: 1