Create directive for markdown textarea