Skip to content

Commit

Permalink
Improve documentation.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 2a86e1d68c59362f290674bd0a5466aa6f2e8e9e355b6d7215ed4159ce355f76
  • Loading branch information
programandala-net committed Sep 5, 2022
1 parent 7582d13 commit f316f40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
\ This file is part of Fendo
\ (http://programandala.net/en.program.fendo.html).

: fendo_version ( -- ca len ) s" 0.6.0-pre.85+20220905T1048CEST" ;
: fendo_version ( -- ca len ) s" 0.6.0-pre.86+20220905T1209CEST" ;

\ vim: filetype=gforth
10 changes: 8 additions & 2 deletions fendo.markup.fendo.link.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

\ This file defines the Fendo markup for links.

\ Last modified 20220905T1044+0200.
\ Last modified 20220905T1209+0200.
\ See change log at the end of the file.

\ Copyright (C) 2013, 2014, 2015, 2017, 2018, 2020, 2021, 2022 Marcos
Expand Down Expand Up @@ -214,13 +214,15 @@ variable [[-depth
\ Usage examples:

\ ----
\ simple_[[ \ select the simple link markup
\ [[ "http://programandala.net" ]]
\ [[ "http://programandala.net/en.program.fendo.html"
\ "Fendo homepage" ]]
\ [[ "http://programandala.net/en.program.fendo.html" "Fendo"
\ title=" Fendo home page" ]]
\ [[ s" This is the title" title=!
\ "http://programandala.net" ]]
\ complex_[[ \ return to the default format
\ ----

\ The text in the markup is evaluated as Forth code. The first
Expand All @@ -230,6 +232,10 @@ variable [[-depth
\ ``style="``, etc., in any order or position. Also their storage
\ variants like ``title=!`` are valid.
\
\ WARNING: The text "]]", delimited by spaces or end of lines,
\ cannot be part of the link text or any attribute. Otherwise it
\ would be mistaken for the ending `]]`.
\
\ See also: `(simple_]])`, `(complex_[[)`, `link`, `shortcut:`.
\
\ }doc
Expand Down Expand Up @@ -361,6 +367,6 @@ complex_[[ \ set the default
\
\ 2021-10-23: Improve documentation.
\
\ 2022-09-05: Fix typos in documentation.
\ 2022-09-05: Fix and improve the documentation.

\ vim: filetype=gforth

0 comments on commit f316f40

Please sign in to comment.