jhass / crystal-gobject

gobject-introspection for Crystal
BSD 3-Clause "New" or "Revised" License
127 stars 13 forks source link

Proper parsing of codeblocks in generated documentation #44

Open watzon opened 4 years ago

watzon commented 4 years ago

Currently code blocks just get left as is, it would be nice to have them parse properly. An example is this:

|[<!-- language="C" --> enum {

PROP_0,
PROP_FOO,
PROP_LAST

}; ]|

It should be possible to get the parser to recognize these blocks and swap them out for proper markdown blocks.