From 1b6216ce727f9a7f950f964cd38ea9577044e227 Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Fri, 27 Oct 2023 20:49:41 +0530 Subject: [PATCH 1/2] Added a examples to functions for lucee docs --- .../stringlen/_arguments/string.md | 1 + .../xmltransform/_arguments/xsl.md | 1 + .../string/findlastnocase/_examples.md | 6 ++++++ .../string/markdowntohtml/_examples.md | 18 ++++++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 docs/03.reference/05.objects/string/findlastnocase/_examples.md create mode 100644 docs/03.reference/05.objects/string/markdowntohtml/_examples.md diff --git a/docs/03.reference/01.functions/stringlen/_arguments/string.md b/docs/03.reference/01.functions/stringlen/_arguments/string.md index e69de29bb..4c07f96ef 100644 --- a/docs/03.reference/01.functions/stringlen/_arguments/string.md +++ b/docs/03.reference/01.functions/stringlen/_arguments/string.md @@ -0,0 +1 @@ +A string or a variable that contains one \ No newline at end of file diff --git a/docs/03.reference/01.functions/xmltransform/_arguments/xsl.md b/docs/03.reference/01.functions/xmltransform/_arguments/xsl.md index e69de29bb..742b0feca 100644 --- a/docs/03.reference/01.functions/xmltransform/_arguments/xsl.md +++ b/docs/03.reference/01.functions/xmltransform/_arguments/xsl.md @@ -0,0 +1 @@ +A string containing XSL text \ No newline at end of file diff --git a/docs/03.reference/05.objects/string/findlastnocase/_examples.md b/docs/03.reference/05.objects/string/findlastnocase/_examples.md new file mode 100644 index 000000000..72a2e5130 --- /dev/null +++ b/docs/03.reference/05.objects/string/findlastnocase/_examples.md @@ -0,0 +1,6 @@ +```luceescript+trycf +string = "Susi Sorglos"; +writeDump(string.findLastNoCase("s")); +writeDump(string.findLastNoCase("s",1)); +writeDump(string.findLastNoCase("S",4)); +``` \ No newline at end of file diff --git a/docs/03.reference/05.objects/string/markdowntohtml/_examples.md b/docs/03.reference/05.objects/string/markdowntohtml/_examples.md new file mode 100644 index 000000000..504a3f3bf --- /dev/null +++ b/docs/03.reference/05.objects/string/markdowntohtml/_examples.md @@ -0,0 +1,18 @@ +```luceescript+trycf +nl= chr(10); +dNL= nl & nl; + +markdownString="" & +"## Heading1" & dNL & +"###### Simple Paragraph" & dNL & +"Some simple paragraph with a simple text" & dNL & +"###### Ordered List" & dNL & +"- First item" & nl & +"- Second item" & nl & +"- Third item" & dNL & +"###### Some Blockquotes" & dNL & +"> This is some blockquoted text" & nl & +">> Blockquoted text with indentation" & dNL; + +echo( markdownString.markdownToHtml() ); +``` \ No newline at end of file From 1875c6d6f2582cc9e1b7a3cfd052ce8dc8aced4a Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Mon, 30 Oct 2023 11:23:17 +0530 Subject: [PATCH 2/2] Docs typos have been updated --- docs/05.categories/293.s3/category.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05.categories/293.s3/category.md b/docs/05.categories/293.s3/category.md index 88cd7769b..ec1e05574 100644 --- a/docs/05.categories/293.s3/category.md +++ b/docs/05.categories/293.s3/category.md @@ -11,7 +11,7 @@ menuTitle: S3 Lucee S3 Extension Source Code -The s3* functions listed below are optimised for use with S3, while you can use the file* functions, these S3 specfic functions will perform better and may expose additional S3 specific functionality. +The s3* functions listed below are optimised for use with S3, while you can use the file* functions, these S3 specific functions will perform better and may expose additional S3 specific functionality. Open Issues: [https://luceeserver.atlassian.net](https://luceeserver.atlassian.net/issues/?jql=labels%20%3D%20%22s3%22)