Skip to content

Commit

Permalink
Fix Markdown formatting (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Dec 15, 2020
1 parent 931969d commit 7a5bf61
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
13 changes: 7 additions & 6 deletions docs/03.reference/01.functions/htmlcodeformat/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ categories:
---

Replaces special characters in a string with their HTML-escaped
equivalents and inserts <pre> and </pre> tags at the beginning
equivalents and inserts `<pre>` and `</pre>` tags at the beginning
and end of the string.
[version]
HTML version to use. currently ignored.
-1: The latest implementation of HTML
2.0: HTML 2.0 (Default)
3.2: HTML 3.2

[version] HTML version to use. Currently ignored.

- -1: The latest implementation of HTML
- 2.0: HTML 2.0 (Default)
- 3.2: HTML 3.2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- True: if the regular expression is found, the first array element contains the length and position, respectively, of the first match.
If the regular expression contains parentheses that group subexpressions, each subsequent array element contains the length and position, respectively, of the first occurrence of each group.
If the regular expression is not found, the arrays each contain one element with the value 0.
If the regular expression contains parentheses that group subexpressions, each subsequent array element contains the length and position, respectively, of the first occurrence of each group.
If the regular expression is not found, the arrays each contain one element with the value 0.
- False: the function returns the position in the string where the match begins. Default.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ Characters that show how Lucee displays a date:
- z: Time zone in literal format, for example, IST
- Z: Time zone in hours of offset (RFC 822 TimeZone), for example, +0530
- X: Time zone in hours of offset in ISO 8601 format. The following are the three ways of using 'X':
X: +05
XX: +0530
XXX: +5:30

+ X: +05
+ XX: +0530
+ XXX: +5:30
- short: equivalent to m/d/y
- medium: equivalent to mmm d, yyyy
- long: equivalent to mmmm d, yyyy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ Characters that show how Lucee displays a time:
- z: Time zone in literal format, for example, IST
- Z: Time zone in hours of offset (RFC 822 TimeZone), for example, +0530
- X: Time zone in hours of offset in ISO 8601 format. The following are the three ways of using 'X':
X: +05
XX: +0530
XXX: +5:30

+ X: +05
+ XX: +0530
+ XXX: +5:30
- short: equivalent to h:mm tt
- medium: equivalent to h:mm:ss tt
- long: equivalent to h:mm:ss tt {timezone-3-letters}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set :use_sudo, false
desc "Run tasks in production environment"
task :production do
# Prompt to make really sure we want to deploy into production
# Prompt to make really sure we want to deploy into production
puts "\n\e[0;31m ######################################################################"
puts " #\n # Are you REALLY sure you want to deploy to production?"
puts " #\n # Enter y/N + enter to continue\n #"
Expand Down

0 comments on commit 7a5bf61

Please sign in to comment.