Add automatic linking syntax
We are going to need a Markdown extension to turn something like:
[class@Widget]
into:
[`Gtk.Widget`](class.Widget.html)
We should have the following fragments:
fragment | description | example |
---|---|---|
class |
classed types |
[class@Widget] , [class@GObject.InitiallyUnowned]
|
const |
constants |
[const@BINARY_AGE] , [const@Gdk.KEY_a]
|
error |
error domains | [error@BuilderError] |
enum |
plain enumerations | [enum@Gtk.Align] |
flags |
bitfields | [flags@Gdk.ModifierType] |
func |
constructors, functions, class methods |
[func@WidgetClass.add_binding] , [func@Gtk.Constraint.new]
|
iface |
interfaces | [iface@Orientable] |
method |
instance methods | [method@Widget.set_parent] |
struct |
records |
[struct@WidgetClass] , [struct@Gtk.Border]
|
vfunc |
virtual functions | [vfunc@WidgetClass.measure] |
field |
structure fields | [field@Border.left] |