What I'd like to do:
I'd like to use rmarkdown to create rails *.html.erb
files.
If you're unfamiliar with *.html.erb
files, they're basically html files with ruby enclosed between <%
and %>
or between <%=
and %>
(latter if result should be included in final html rendering).
Problem:
I can not find a way to get rmarkdown to ignore <%
, %>
, <%=
and everything between them.
Q: Any ideas how this might be done?
Thanks in advance.