DEVONthink script (New Item) Update Suggestion

I made a small update in the script that creates a new item in a DEVONthink 3 database, adding the tags:...`` term. I also made the script create the new file as type:markdown```, which is more portable for me than just text.

set newItem to create record with 
{name:"$title", type:markdown, tags:"Hook; HookNote"}

You can of course use any tags you wish. Separate tags with a semicolon as shown. Enclose the string in quotes.

Hope this helps others in a very small way.