File: difference.bfdoc

package info (click to toggle)
ruby-bluefeather 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 632 kB
  • ctags: 167
  • sloc: ruby: 4,195; makefile: 7
file content (72 lines) | stat: -rw-r--r-- 1,735 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Title: Difference from BlueCloth - BlueFeather Manual
CSS: black.css

<div class="back"><a href="index.html">BlueFeather Manual</a></div>

Difference from BlueCloth
====

{toc}


Markdown Syntax Extension
----
 BlueFeather has imported some extension of syntax from [PHP Markdown Extra][]
-- definition list, table, and others. And that, BlueFeather has been added
original extension -- TOC generation and block separator. See the
[Markdown Syntax Extension](format-extension.html).



Change of Interface
----
BlueCloth

:

		require 'bluecloth'
		
		puts BlueCloth.new(str).to_html

BlueFeather

:

		require 'bluefeather'
		
		puts BlueFeather.parse(str)

 See the [Installing and Basic Usage](basic-usage.html).
 



Generating Entire HTML Document
----
 Imported by [Maruku][], BlueFeather can generate entire html document not only
html fragment. And that, *document metadata* enables to specify title and URL of
css-stylesheet.

 See the [Installing and Basic Usage](basic-usage.html) and [Metadata Reference](metadata-reference.html).


Bug Fix to BlueCloth 1.0.0
----

These bugs are fixed on BlueFeather.

1. Some Regexp is set encoding of Shift-JIS.
2. '`<mail+address@example.com>`' is not parsed such as mailto-anchor. (ex: GMail alias charcters)
3. Link id definition indented 4-or-more spaces or tab is not parsed such as
  code block.
4. `<hr />` indented 4-or-more spaces or tab is not parsed such as
  code block.

Change of EmptyElementSuffix
----

 BlueCloth output empty element tags, `<tag/>`. Instead BlueFeather output `<tag />`.


[Maruku]: http://maruku.rubyforge.org/
[PHP Markdown Extra]: http://michelf.com/projects/php-markdown/extra/