Is there a reason you want to use ENML? You need a pretty good understanding of what it is and how to create valid XML to write it directly. In most cases you would be better off using a different output format.
If you are writing this for an iOS Evernote action step in Drafts, I would just use the “Markdown” template output type, with the template like:
[[date|%G.%m.%d @ %H%M]]
Drafts will take case of convert the content to ENML for you.
Because I’m looking to have the ‘Test Text’ section colored. It’s a journal. I’ll have different actions for different types of journal entries with the text of (Test Text) and it’s color different to easily ID different categories of journal entries. I would love to use Markdown. While I’m a rookie at it…I definitely understand it MUCH better than ENML. I have the Markdown version mostly working. There’s one thing I’d like to accomplish that I don’t know if it’s possible. But I’m fairly sure that formatting text to a certain color in markdown doesn’t work. Am I wrong?
The ‘one thing’ I can’t figure out (besides formatting color) has to do with prepending. I have a Evernote link at the top of the note that I want to stay at the top of the note. I want the prepended text coming from Drafts to be entered on the 2nd line of the note. Not sure how to accomplish this or even if this is possible.
For the most part, ENML is HTML. That what the Markdown conversion relies on to work, since Markdown outputs HTML. Markdown also allows inline HTML tags, so you can include styled HTML markup (as long as it’s tags supported by ENML, but that’s most of the common ones).
So, this template, set to output Markdown, would work to get you bold, red text:
<p style="font-weight:bold;color:red;">Here's some bold red text!</p>