farkup vocabulary
Factor handbook ยป Vocabulary index


Documentation
Farkup

Metadata
Tags:text, web
Authors:Doug Coleman, Daniel Ehrenberg


Words

Tuple classes
ClassSuperclassSlots
code tuplemode string
emphasis tuplechild
heading1 tuplechild
heading2 tuplechild
heading3 tuplechild
heading4 tuplechild
image tuplehref text
inline-code tuplechild
line tuple
line-break tuple
link tuplehref text
list-item tuplechild
ordered-list tuplechild
paragraph tuplechild
strong tuplechild
subscript tuplechild
superscript tuplechild
table tuplechild
table-row tuplechild
unordered-list tuplechild


Generic words
WordStack effect
(write-farkup)( farkup -- xml )


Symbol words
disable-images?
line-breaks?
link-no-follow?
relative-link-prefix


Ordinary words
WordStack effect
(parse-paragraph)( string -- list )
(take-until)( state delimiter accum -- string/f state' )
absolute-url?( string -- ? )
check-url( href -- href' absolute? )
coalesce( rows -- rows' )
convert-farkup( string -- string' )
count=( string -- n )
cut-half-slice( string i -- before after-slice )
delimiter-class( delimiter -- class )
escape( before after -- before' after' )
farkup-inside( farkup name -- xml )
farkup>xml( string -- xml )
find-cut( string quot -- before after delimiter )
invalid-url( -- value )
look( state i -- char )
make-heading( string class -- heading )
make-paragraph( string -- paragraph )
open-link( link -- href text )
or-simple-title( ... url title/f quot: ( ... title -- ... title' ) -- ... url title' )
parse-big-link( before after -- link rest )
parse-code( state -- state' item )
parse-delimiter( string delimiter class -- paragraph )
parse-farkup( string -- farkup )
parse-heading( state -- state' heading )
parse-item( state -- state' item )
parse-line( state -- state' item )
parse-link( string -- paragraph-list )
parse-list( state char class -- state' list )
parse-ol( state -- state' ul )
parse-paragraph( string -- seq )
parse-table( state -- state' table )
parse-ul( state -- state' ul )
render-code( string mode -- xml )
simple-link-title( string -- string' )
take-lines( state char -- state' lines )
take-until( state delimiter -- string state'/f )
trim-row( seq -- seq' )
trim=( string -- string' )
write-farkup( string -- )
write-image-link( href text -- xml )
write-link( href text -- xml )


Class predicate words
WordStack effect
code?( object -- ? )
emphasis?( object -- ? )
heading1?( object -- ? )
heading2?( object -- ? )
heading3?( object -- ? )
heading4?( object -- ? )
image?( object -- ? )
inline-code?( object -- ? )
line-break?( object -- ? )
line?( object -- ? )
link?( object -- ? )
list-item?( object -- ? )
ordered-list?( object -- ? )
paragraph?( object -- ? )
strong?( object -- ? )
subscript?( object -- ? )
superscript?( object -- ? )
table-row?( object -- ? )
table?( object -- ? )
unordered-list?( object -- ? )


Files


Metadata files