parent
6f77bf5ca9
commit
317d4b4b09
|
@ -8,11 +8,11 @@ import (
|
||||||
|
|
||||||
// citation parses a citation. In its most simple form [@ref], we allow multiple
|
// citation parses a citation. In its most simple form [@ref], we allow multiple
|
||||||
// being separated by semicolons and a sub reference inside ala pandoc: [@ref p. 23].
|
// being separated by semicolons and a sub reference inside ala pandoc: [@ref p. 23].
|
||||||
// Each citation can have a modifier: !, ? or - wich mean;
|
// Each citation can have a modifier: !, ? or - wich mean:
|
||||||
//
|
//
|
||||||
// ! - normative
|
// ! - normative
|
||||||
// ? - formative
|
// ? - formative
|
||||||
// - - suppress
|
// - - suppressed
|
||||||
func citation(p *Parser, data []byte, offset int) (int, ast.Node) {
|
func citation(p *Parser, data []byte, offset int) (int, ast.Node) {
|
||||||
// look for the matching closing bracket
|
// look for the matching closing bracket
|
||||||
i := offset + 1
|
i := offset + 1
|
||||||
|
|
Loading…
Reference in New Issue