1
0
forked from GitHub/gf-core

module Markup for marking up subphrases with html tags (or other things). Implemented for Eng and Swe so far.

This commit is contained in:
aarne
2014-02-11 15:42:17 +00:00
parent be31b52e07
commit 4c26fc80ee
10 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
abstract MarkHTML = {
-- HTML markup to be used in Markup.gf. Will have a common implementation for all languages.
-- AR 11/2/2014
cat
Mark ;
fun
i_Mark : Mark ;
b_Mark : Mark ;
ul_Mark : Mark ;
li_Mark : Mark ;
h1_Mark : Mark ;
h2_Mark : Mark ;
table_Mark : Mark ;
tr_Mark : Mark ;
td_Mark : Mark ;
p_Mark : Mark ;
a_Mark : String -> Mark ;
stringMark : String -> String -> Mark ; -- make your own markup
}