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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
|
CSS: style.css
LaTeX CJK: true
HTML use syntax: true
<!-- #### Changes in the development version (**not yet released**) #### {#last} -->
#### Changes in 0.5.6 #### {#stable}
* News:
- Now Maruku is in the official Gentoo Portage tree (done by [Aggelos Orfanakos])
* New stuff:
- Attribute `maruku_signature` defaults to false. (many people asked this)
- unittests scripts are included in the distribution.
- New attribute `filter_html`: if true, raw HTML/XML is discarded. (asked by Marik)
- Command line: if output file is `-`, Maruku writes to stdout.
* Bug fixes:
* Another tiny bug in HTML parsing.
* In latex, `\linebreak` was used instead of `\newline` (reported by Sam Kleinman)
* Fixed bug with non-alpha numeric characters in ref.ids (reported by Aggelos Orfanakos)
* Pending bugs/feature requests:
- Maruku does not allow 3-space indented lists.
- Lists item whose first character is UTF8 are not recognized (reported by Aggelos Orfanakos)
- Maruku cannot output `"`-delimited attributes, because `REXML` does not support it.
[Aggelos Orfanakos]: http://agorf.gr/
#### Changes in 0.5.5 ####
* Features:
* Input of HTML numeric entities:
Examples of numeric character references include © or ©
for the copyright symbol, Α or Α for the Greek capital
letter alpha, and ا or ا for the Arabic letter alef.
> Examples of numeric character references include © or ©
> for the copyright symbol, Α or Α for the Greek capital
> letter alpha, and ا or ا for the Arabic letter alef.
* Bug fixes:
* Alt text was ignored for images.
* Fixed minor bug in reading HTML inside paragraph.
* Changed rules for block-level HTML to make it similar to Markdown.pl.
For example:
Paragraph
<div></div>
will be translated to
<p>Paragraph
<div></div></p>
while this:
Paragraph
<div></div>
becomes
<p>Paragraph</p>
<div></div>
* **Pending bugs**: there are some problems when parsing lists. It is difficult
to get it right because the spec is very fuzzy. At the moment, list items
cannot be indented by more than 1 space.
#### Changes in 0.5.4 ####
* Features:
* [All HTML attributes](http://www.w3.org/TR/html4/index/attributes.html) are supported.
> Science is a wonderful thing if one does not
> have to earn one's living at it.
{: cite="http://en.wikiquote.org/wiki/Albert_Einstein"}
* Attribute `doc_prefix`.
* Math:
* `\begin{equation}` and `\end{equation}` are understood.
* Math parsing enabled per-instance using the `math_enabled` attribute.
* `math_numbered` attribute.
* Bug fixes:
* Runs quietly with `ruby -w`.
* Fixed a bug which could cause data-loss when reading indented lines.
#### Changes in 0.5.3 ####
* Features:
* [All HTML `table` attributes](http://www.w3.org/TR/html4/struct/tables.html#h-11.2.1)
can be used (`summary`, `width`, `frame`, `rules`,
`border`, `cellspacing`, `cellpadding`).
The next version will hopefully use all HTML attributes.
<!-- A version of Markdown that is more Japanese or something -->
* Bug fixes:
* Crash on this line: (found by Aggelos Orfanakos)
[test][]:
* Regression with attribute system (found by Charles)
#### Changes in 0.5.1 ####
* Bug fixes:
* Workaround for Internet Explorer bug:
be very sure that `'` is always written as `'`.
* Support for empty images ref: `![image]` and `![image][]`.
* Fixed bug in parsing attribute lists definitions.
* Minor things:
* Now code blocks are written as a `<code>` element inside a `<pre>`, and
`<code>` elements have both `class` and `lang` attributes set
to the specified language.
Example:
Example
{:lang=ruby}
{:lang=markdown}
produces:
<pre><code class='ruby' lang='ruby'>Example</code></pre>
{:lang=xml}
#### Changes in 0.5.0 ####
* Syntax changes:
* Compatibility with newest Markdown.pl: `[text]` as a synonim of `[text][]`.
* Meta data: the first IAL in a span environment now refers to the parent.
This makes it possible to set attributes for cells:
Head | Head |
---------------+-------+--
{:r} Hello + ...
{:r: scope='row'}
The first cell will have the `scope` attribute set to `row`.
* New settings:
* Disable the Maruku signature by setting `maruku signature: false`
* Stricter doctype. By the way -- did I mention it? --
**Maruku HTML has always been proper validating XHTML strict**
(if a page does not validate, please report it as a bug).
Of course, this only matters when using `maruku` as a standalone
program.
* I have updated the XHTML DTD used to support MathML:
currently using XHTML+MathML+SVG.
* Content-type set to `application/xhtml+xml`
* All entities are written as numeric entities.
* Bug fixes
* Many fixes in the code handling the sanitizing of inline HTML.
* `markdown=1` did not propagate to children.
* LaTeX: An exception was raised if an unknown entity was used.
#### Changes in 0.4.2 ####
* Adapted syntax to the [new meta-data proposal][proposal].
* Changes in LaTeX export:
* Links to external URLs are blue by default.
* New attributes: `latex_preamble` to add a custom preamble,
and `latex_cjk` to add packages for UTF-8 Japanese characters.
(**support for this is still shaky**). Example:
Title: my document
LaTeX CJK: true
LaTeX preamble: preamble.tex
Content
* Bug fixes
+ Images were not given `id` or `class` attributes.
+ Fixed bug in LaTeX export with handling of `<`,`>` enclosed URLs: `<google.com>`.
#### Changes in 0.4.1 aka "Typographer" ####
* Implemented SmartyPants support:
'Twas a "test" to 'remember' -- in the '90s
--- while I was <<ok>>. She was 6\"12\'.
> 'Twas a "test" to 'remember' -- in the '90s --- while I was <<ok>>.
> She was 6\"12\'.
I adapted the code from RubyPants.
* Server directives between `<? ?>` are properly preserved.
* Changes in LaTeX export:
* Now Japanese text rendering sort of works, using the following packages:
\usepackage[C40]{fontenc}
\usepackage[cjkjis]{ucs}
\usepackage[utf8x]{inputenc}
Nevertheless, I could only get bitmap fonts working -- probably it's a problem
with my setup.
A quick test: 日本、中国、ひらがな、カタカナ。
* Fixed bugs in rendering of immediate links.
* External packages are `require`d only if needed.
* More symbols supported.
See the symbol list
[in HTML](http://maruku.rubyforge.org/entity_test.html) and
[in PDF](http://maruku.rubyforge.org/entity_test.pdf).
#### Changes in 0.4 ####
* First implementation of [the new meta-data syntax][meta].
* General refactorization of the code and much cleaner error reporting.
* Created [the RDOC documentation][rdoc].
* The `add_whitespace` method took too much time -- it was O(n^2).
* Added unit-tests for block-level elements.
[rdoc]: http://maruku.rubyforge.org/rdoc/
[meta]: http://maruku.rubyforge.org/proposal.html
[Jacques Distler]: http://golem.ph.utexas.edu/~distler
[itex2MML]: http://golem.ph.utexas.edu/~distler/blog/itex2MML.html
[math]: http://rubyforge.maruku.org/math.html
#### Changes in 0.3 ####
* A real parser is used instead of a regexp-based system, also for span-level
elements.
Now Maruku is almost 2x faster than Bluecloth, while having more features.
Here are some benchmarks:
BlueCloth (to_html): parsing 0.00 sec + rendering 1.54 sec = 1.55 sec
Maruku (to_html): parsing 0.47 sec + rendering 0.38 sec = 0.85 sec
Maruku (to_latex): parsing 0.49 sec + rendering 0.25 sec = 0.73 sec
This is the result of running `lib/maruku/tests/benchmark.rb` on the Markdown
specification.
* Prettier HTML output by adding whitespace.
* Added a full suite of unit-tests for the span-level parser.
* Error management: Having a real parser, Maruku warns you about syntax issues.
The default action is to warn and try to continue. If you do this:
Maruku.new(string, {:on_error => :raise})
then syntax errors will cause an exception to be raised (you can catch this
and retry).
* Fixed a series of bugs in handling inline HTML code.
Immediate TODO-list:
* UTF-8 input/output works OK for HTML, however I am having pain trying to export
to LaTeX. I want at least Japanese characters support, so if you know how to
do this you are very welcome to give me an hand.
For example: in the HTML version, you should see accented characters in this
parenthesis:
> (àèìòù)
and Japanese text in these other parentheses:
> (カタカナで 私の 名前は アンドレア チェンシ です).
>
> (日本のガルは 大好き、でも、日本語は難しですから、そうぞ 英語話すガルを おしえてください).
In the LaTeX version, these do not appear. I know how to do LaTeX with
ISO-8859-1 encoding (European characters), but I'm struggling with half-baked
solutions for UTF-8 encoded documents.
* Implement the [new meta-data proposal][proposal].
* Exporting to Markdown (pretty printing).
* Exporting to HTML splitting in multiple files.
* RubyPants.
* Support for images in PDF.
[proposal]: http://maruku.rubyforge.org/proposal.html
[contact]: http://www.dis.uniroma1.it/~acensi/contact.html
[markdown-discuss]: http://six.pairlist.net/mailman/listinfo/markdown-discuss
[tracker]: http://rubyforge.org/tracker/?group_id=2795
|