• 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
8da1ab4 2023-02-18 17:31:15 supercell

Fix IndexError when parsing inline link

Check parser.done? when title is nil in parse_inline_bracketed_link

9b4c775 v0.2.0 2023-02-16 17:24:58 supercell

Version 0.2.0

eb06aab 2023-02-16 17:16:39 supercell

Remove unnecessary not_nil! assertions related to AST elements

a3f4450 2023-02-16 17:12:33 supercell

Add option to disable default syntaxes

dd26916 2023-02-16 17:07:33 supercell

Fix Array#insert_all not working when index is 0

None of the previous tests were checking against inserting at index 0,
this seemed to actually cause a bit of an issue... This seems to work
in all cases now.

f4f50c5 2023-02-16 12:29:28 supercell

Support GitLab flavored fenced blockquote

34f99d6 2023-02-16 08:43:44 supercell

Matched CodeBlockSyntaxes in BlockQuotes are now new paragraphs

6bbf68b 2023-02-14 09:48:16 supercell

Remove optional 'nil' for get_children of resolve_reference_link

Also remove any related not_nil! assertions.

3f8ad00 2023-02-14 09:42:09 supercell

Do not allow reference link labels contain left brackets

63cf2c8 2023-02-14 09:37:52 supercell

Improvements to Documentation

Documentation is added to the library statement that provides some
introduction of the library guiding a user wanting to extend the syntax.

Other minor changes:

- Ensure all references to the language are capitalised (Markdown) and
references to the library are lowercase (markdown)
- Fix a couple of references to non-existing elements

c22322b 2023-02-14 09:11:27 supercell

Render tables with trailing whitespace

e3cb27b 2023-02-14 09:04:11 supercell

Add stats tooling

Currently getting difference results that the Dart version.
Will need to look in to later.

9a71a4d 2023-02-14 08:31:25 supercell

Move DataCase class definition

We need this for the compliance tools, but importing them in said tools
would run the specs.

1a9b096 2023-02-12 11:37:49 supercell

Make parse_inline's parameter non-nilable

f5857af 2023-02-12 11:37:49 supercell

Make EscapeSyntax respect encode_html

df616c6 2023-02-12 11:37:49 supercell

Update Common Mark test to v0.30.2

36ae25e 2023-02-12 10:05:56 supercell

Rename textual_content.uni textual_content.unit

a9aa86c v0.1.0 2023-02-04 17:25:46 supercell

Version 0.1.0

b9b8bb1 2023-02-04 16:48:20 supercell

Remove NodeType

Similar to the previous commits about removing InlineSyntaxTypes
and BlockSyntaxTypes.

See:
e61cb41db1e717ecb8b5b912c676419f35403bea (BlockSyntaxTypes)
e58b22245b7cc44fef9fcb8944c9809b203ff43b (InlineSyntaxTypes)

f419278 2023-02-04 16:39:49 supercell

Update README.md

Remove "of Luce::InlineSyntaxTypes" because it's not required.

So it turns out you don't need to specify the type of array when it's
being passed to a normal argument? When passing to an instance variable
on a class it has the compile time error.

See:
e61cb41db1e717ecb8b5b912c676419f35403bea
e58b22245b7cc44fef9fcb8944c9809b203ff43b

e58b222 2023-02-04 16:32:04 supercell

Remove InlineSyntaxTypes

For more information see commit:
e61cb41db1e717ecb8b5b912c676419f35403bea

Though as an addition (continuing on from the above commit), you'd
also have to define the parent type if the array is all of the same
type:

Other.new [Child.new, Child.new, Child.new] of Parent

Since Crystal will think its of type Array(Child) otherwise, which
is silly that it can't determine the Child < Parent but oh well.

e61cb41 2023-02-04 16:27:35 supercell

Remove BlockSyntaxTypes

Turns out this isn't necessary, you just have to know when to specify
what the type is. For example:

class Parent; end
class Child < Parent; end

class Other
def initialize(@ var : Array(Parent)); end
end

Other.new [Child.new]

That won't compile (yes I know there is a space between @ and var,
I don't want to tag anyone). You have to either add more instances
whose types inherit from parent:

class Child2 < Parent;

Other.new [Child.new, Child2.new]

Or, you have to specify the base type when defining the array:

Other.new [Child.new] of Parent

3ecfd35 2023-02-04 15:53:53 supercell

Re-write version_spec.cr

The old version matched the Dart version, however there is little
point in compiling bin/luce.cr --version when all it does is return
the value of Luce::VERSION. So just check against that.

This will also improve the speed of running `crystal spec` from taking
about 3.5s to 4.0s down to under 1s.

296b3dd 2023-02-04 15:04:53 supercell

Crystal < 1.3.0 compatibility

Earlier versions don't allow a Proc literal to have an explicit return
type (e.g. ->(x, y) : Int32 { }). This is put behind a macro so as
to demonstrate both ways.

bd028fb 2023-02-04 14:28:22 supercell

URI.encode -> DartURI.encode_full

Crystal 1.2.0 deprecated URI.encode in favour of URI.encode_path
and URI.encode_path_segment, however, neither replicate the return
result of URI.encode. DartURI has been used elsewhere already for
the different behaviours, so this isn't a big deal.

4ffd429 2023-02-04 14:25:46 supercell

Change class variable regex literals to strings

In Crystal 1.2.0 this created a compile-time error regarding debug
symbols. From what I gather, this was fixed in 1.2.2, but the change
here works on all (tested) versions still.

f8cb6dd 2023-02-04 12:23:24 supercell

Update README.md

1e373a0 2023-02-04 11:44:34 supercell

Update bin/luce.cr to support new ExtensionSets

6a8c0ba 2023-02-04 11:35:55 supercell

Add tests for BLNS

https://github.com/minimaxir/big-list-of-naughty-strings/

f531ee1 2023-02-04 11:08:15 supercell

Define the GITHUB_WEB ExtensionSet