book/text/extending/macro_def.glyph in glyph-0.3.0 vs book/text/extending/macro_def.glyph in glyph-0.4.0
- old
+ new
@@ -1,8 +1,5 @@
-section[
- @title[Defining Macros]
- @id[macro_def]
txt[
Glyph was created wih extensibility in mind. You can freely extend &[glang] by creating or overriding macros, to do whatever you like. Macro definitions are written in pure Ruby code and placed in @.rb@ files within the @lib/macros/@ folder of your project.
box[Alternative Ways to Define Macros|
You can also define macros:
@@ -58,7 +55,5 @@
tr[
td[code[@source]]
td[A code[String] identifying the source of the macro (a file, a snippet, etc.).]
]
]
-]
-