From 82193490a00758799a9134537e30f09a0a0ba08f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 28 Nov 2023 15:25:23 +0200 Subject: [PATCH] add a script and bold tags to README.md too --- cmd/tools/vdoc/tests/testdata/output_formats/README.md | 4 ++++ cmd/tools/vdoc/tests/testdata/output_formats/main.ansi | 6 ++++++ cmd/tools/vdoc/tests/testdata/output_formats/main.html | 2 +- cmd/tools/vdoc/tests/testdata/output_formats/main.text | 4 ++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vdoc/tests/testdata/output_formats/README.md b/cmd/tools/vdoc/tests/testdata/output_formats/README.md index 1dd672c8ad876c..c139a666ea083b 100644 --- a/cmd/tools/vdoc/tests/testdata/output_formats/README.md +++ b/cmd/tools/vdoc/tests/testdata/output_formats/README.md @@ -5,6 +5,10 @@ documentation in a project or module. This is a [link](https://vlang.io/) to the main V site. +This is a bold text. + +This is a script . + ## Examples: ### Processing command line args: diff --git a/cmd/tools/vdoc/tests/testdata/output_formats/main.ansi b/cmd/tools/vdoc/tests/testdata/output_formats/main.ansi index 65b049e8212a5f..dd981289565112 100644 --- a/cmd/tools/vdoc/tests/testdata/output_formats/main.ansi +++ b/cmd/tools/vdoc/tests/testdata/output_formats/main.ansi @@ -2,6 +2,8 @@ Description: This is an example of a an .md file, used for adding more rich text documentation in a project or module. This is a link to the main V site. +This is a bold text. +This is a script console.log('hi from README.md'); . Examples: Processing command line args: import os @@ -65,6 +67,10 @@ fn auth_verify(secret string, token string) bool { This is a [link](https://vlang.io/) to the main V site. + This is a bold text. + + This is a script . + ## Examples: ### Processing command line args: diff --git a/cmd/tools/vdoc/tests/testdata/output_formats/main.html b/cmd/tools/vdoc/tests/testdata/output_formats/main.html index 586289cc16378e..626441a16926a7 100644 --- a/cmd/tools/vdoc/tests/testdata/output_formats/main.html +++ b/cmd/tools/vdoc/tests/testdata/output_formats/main.html @@ -1,5 +1,5 @@
-

main #

Description:

This is an example of a an .md file, used for adding more rich text documentation in a project or module.

This is a link to the main V site.

Examples:

Processing command line args:

import os
+			

main #

Description:

This is an example of a an .md file, used for adding more rich text documentation in a project or module.

This is a link to the main V site.

This is a bold text.

This is a script console.log('hi from README.md'); .

Examples:

Processing command line args:

import os
 
 fn main() {
 dump(os.args)
diff --git a/cmd/tools/vdoc/tests/testdata/output_formats/main.text b/cmd/tools/vdoc/tests/testdata/output_formats/main.text
index c89c151175d8ee..b837d2c3397671 100644
--- a/cmd/tools/vdoc/tests/testdata/output_formats/main.text
+++ b/cmd/tools/vdoc/tests/testdata/output_formats/main.text
@@ -6,6 +6,10 @@ module main
     
     This is a [link](https://vlang.io/) to the main V site.
     
+    This is a bold text.
+    
+    This is a script  .
+    
     ## Examples:
     
     ### Processing command line args: