= InlineCommandInterpreter {
iciName = "img"
, iciInterpret
- = \ (InlineCommand _ attrs inside) _ _ sysConf ->
- do BaseURI baseURI <- getSysConf sysConf (BaseURI undefined)
+ = \ ctx (InlineCommand _ attrs inside) ->
+ do BaseURI baseURI <- getSysConf (ctxSysConf ctx) (BaseURI undefined)
let pageName = lookup "src" attrs
when (pageName == Nothing)
= BlockCommandInterpreter {
bciName = "imgframe"
, bciInterpret
- = \ (BlockCommand _ attrs inside) _ _ sysConf ->
- do BaseURI baseURI <- getSysConf sysConf (BaseURI undefined)
+ = \ ctx (BlockCommand _ attrs inside) ->
+ do BaseURI baseURI <- getSysConf (ctxSysConf ctx) (BaseURI undefined)
let pageName = lookup "src" attrs
when (pageName == Nothing)