First, we define a Lua filter and write it to the file color-text.lua.

Now we can test the filter with some text in brackets with the color attribute, e.g.,

The span element

My mother has blue eyes and my father has dark green eyes.

title: “test” output: html_document —

Show images