-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfendo.addon.anchor.fs
53 lines (39 loc) · 1.52 KB
/
fendo.addon.anchor.fs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.( fendo.addon.anchor.fs) cr
\ This file is part of Fendo
\ (http://programandala.net/en.program.fendo.html).
\ This file is the anchor addon.
\ Last modified 202011160218.
\ See change log at the end of the file.
\ Copyright (C) 2013,2017,2018 Marcos Cruz (programandala.net)
\ Fendo is free software; you can redistribute
\ it and/or modify it under the terms of the GNU General
\ Public License as published by the Free Software
\ Foundation; either version 2 of the License, or (at your
\ option) any later version.
\ Fendo is distributed in the hope that it will be useful,
\ but WITHOUT ANY WARRANTY; without even the implied
\ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
\ PURPOSE. See the GNU General Public License for more
\ details.
\ You should have received a copy of the GNU General Public
\ License along with this program; if not, see
\ <http://gnu.org/licenses>.
\ Fendo is written in Forth (http://forth-standard.org)
\ with Gforth (http://gnu.org/software/gforth).
\ ==============================================================
: anchor ( ca len -- )
id=! [<a>] [</a>] ;
.( fendo.addon.anchor.fs compiled) cr
\ ==============================================================
\ Change log {{{1
\ 2013-06-23: Start.
\
\ 2013-10-14: Moved from the application Fendo-programandala.
\
\ 2014-11-13: Change: Simpler, with immediate tags. Fix: stack
\ notation.
\
\ 2017-06-22: Update source style, layout and header.
\
\ 2018-12-08: Update notation of page IDs in comments and strings.
\ vim: filetype=gforth