Cookbook /
ReverseHeadings-Talk
Summary: Talk page for ReverseHeadings.
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
I added an adjustment on the User page (maybe this was better?) The tweak for making !!!!!!!! etc also go to <h1> might be added to the default cookbook:
Markup('^!', 'block', '/^(!+)(.*)$/e', "'<:block><h'.(strlen('$1')<6?7-strlen('$1'):1).PSS('>$2</h').(strlen('$1')<6?7-strlen('$1'):1).'>'");
Full disclosure, for setting ! to be <h5> instead of <h6>:
Markup('^!', 'block', '/^(!+)(.*)$/e', "'<:block><h'.(strlen('$1')<5?6-strlen('$1'):1).PSS('>$2</h').(strlen('$1')<5?6-strlen('$1'):1).'>'");
Peter Kay, April 2014
Talk page for the ReverseHeadings recipe (users).