Skip to content

Commit

Permalink
add a script and bold tags to README.md too
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 28, 2023
1 parent 244bcde commit 8219349
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cmd/tools/vdoc/tests/testdata/output_formats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <b>bold text</b>.

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

## Examples:

### Processing command line args:
Expand Down
6 changes: 6 additions & 0 deletions cmd/tools/vdoc/tests/testdata/output_formats/main.ansi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <b>bold text</b>.

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

## Examples:

### Processing command line args:
Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/vdoc/tests/testdata/output_formats/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<section id="readme_main" class="doc-node">
<div class="title"><h1> main <a href="#readme_main">#</a></h1></div><h2>Description:</h2><p>This is an example of a an .md file, used for adding more rich text documentation in a project or module.</p><p>This is a <a href="https://vlang.io/">link</a> to the main V site.</p><h2>Examples:</h2><h3>Processing command line args:</h3><pre><code class="language-v"><span class="token keyword">import</span> os
<div class="title"><h1> main <a href="#readme_main">#</a></h1></div><h2>Description:</h2><p>This is an example of a an .md file, used for adding more rich text documentation in a project or module.</p><p>This is a <a href="https://vlang.io/">link</a> to the main V site.</p><p>This is a <b>bold text</b>.</p><p>This is a script <code>console.log('hi from README.md');</code> .</p><h2>Examples:</h2><h3>Processing command line args:</h3><pre><code class="language-v"><span class="token keyword">import</span> os

<span class="token keyword">fn</span> <span class="token function">main</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token keyword">dump</span><span class="token punctuation">(</span>os<span class="token punctuation">.</span>args<span class="token punctuation">)</span>
Expand Down
4 changes: 4 additions & 0 deletions cmd/tools/vdoc/tests/testdata/output_formats/main.text
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ module main

This is a [link](https://vlang.io/) to the main V site.

This is a <b>bold text</b>.

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

## Examples:

### Processing command line args:
Expand Down

0 comments on commit 8219349

Please sign in to comment.