• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A Markdown shard for the Crystal programming language


RSS
Rev. Time Author
e98cb89 2023-01-31 15:03:37 supercell

Add more tests.

The link_reference_definitions doesn't yet pass.

b794451 2023-01-31 15:01:38 supercell

Fix issue parsing image titles with ampersand.

We would end up with & since we substitute '&' for '&',
it was then escaped with Crystal's HTML.escape which replaces '&' with
'&' again!

c1396bd 2023-01-31 15:00:13 supercell

Add CommonMark test for images

7222aa5 2023-01-31 14:48:38 supercell

Add more unit tests that all pass!

e8ae8c3 2023-01-31 14:41:49 supercell

Fix bug parsing strong and emphasis

Small fun bug. If "strong" was false, then it the new node would have
taken a copy of a range (1 until end of the text). However, if "strong"
was true, then it would have created a new Text instance with only a
single character (i.e. _ or *).

You can't have .text[strong ? 2.. : 1..] because that would result in
a compile-time error (unterminated call).

3e55910 2023-01-31 14:36:26 supercell

Add tests for CommonMark emphasis and strong

f5cb4c4 2023-01-29 17:28:45 supercell

Add test for code_spans + related fixes.

Crystal's HTML.escape method escapes more than just the '<' and '>' that
the CodeSyntax class requires, which can result in some errors (see
code_spans.unit test 343).

There was also an issue in correctly detecting a FencedCodeBlock which
was caused by checking an Int32 against a Char.

d0f2f7f 2023-01-29 17:20:26 supercell

Add selective HTML escaping

This mimics how escaping HTML works in dart. The dart markdown package
also has an ATTRIBUTE escape mode. I'll implement this when it comes
time.

e0f761d 2021-08-08 12:46:06 supercell

re-write .unit parsing in spec

fixes an issue with the parsing of the "blockquote.unit" spec
from common mark.

6b8f37a 2021-08-08 12:35:31 supercell

add blockquote spec

5518579 2021-08-08 10:58:30 supercell

remove extra specs

0a7f8d1 2021-08-08 10:57:15 supercell

convert existing common mark spec to .unit

with the exception of "headings_spec" and "inline_html_spec" since
the .unit files aren't in the dart git repository? not sure where
I got them from, but will remove them.

8859be9 2021-08-08 10:51:36 supercell

add .unit tests for common mark

89a3f33 2021-08-08 10:49:12 supercell

temporary: process .unit files for testing

marked temporary because it currently uses it's own output instead
of the Crystal spec. I'll finish adding the tests for common mark,
then update it so it uses the Crystal "Spec" library.

a544765 2021-08-08 10:46:39 supercell

fix incorrect escaping of delimiters

d2922c1 2021-08-08 10:43:44 supercell

style changes for consistency

fdd2f91 2021-08-08 10:41:42 supercell

add short options and exit statements

66c154f 2021-08-08 10:40:21 supercell

fix incorrect HTML class attr. for clode blocks

e6ec6a8 2021-07-31 19:05:41 supercell

add blank_lines spec

6fdbb8d 2021-07-31 19:04:15 supercell

add spec for atx headers

fdadba3 2021-07-31 17:40:04 supercell

finish adding autolinks tests

5c27a01 2021-07-31 17:39:41 supercell

add dart uri.encodeFull

a0ffddc 2021-06-26 15:38:52 supercell

add some more autolink tests

b407088 2021-06-26 15:07:14 supercell

Update bin/luce.cr

Rewrote to use OptionParser.

e8bedbf 2021-06-26 15:06:56 supercell

add 'none' extesion set

38cb992 2021-06-26 14:18:11 supercell

fix up imports because of rename

see: 32439ed

32439ed 2021-06-26 14:17:12 supercell

move commonmark specs into dir.

69ae43b 2021-06-26 14:12:45 supercell

implement lists (ol/ul)

8043162 2021-06-26 14:12:14 supercell

uncomment test for HRs

f77e06c 2021-06-26 11:24:15 supercell

re-order classes