local util = require('util')
app.on('scan_experience', function(exp)
--print_r(exp)
end)
app.on('scan_experience_file', function(exp)
end)
app.on('set', function(k,v)
print("content was updated")
end)
-- this registers the plugin UI
local plugin = {
name = 'Markdown disabled',
info = 'extract experience title and description from markdown file',
opts = {
{
key='app.opts.plugin_markdown_files',
title='Markdown files',
info='Space-separated, lua patterns are allowed',
default="*.md",
values=''
},
{
key='app.opts.plugin_markdown_strategy',
title='Markdown strategy',
info='',
default="README.md",
values={headerparagraph='title is first header + 1st paragraph is description',disabled='disabled'}
},
}
}
return plugin