Re: Release md v0.3.1

2021-05-09 Thread vladislavp via Digitalmars-d-announce

On Friday, 7 May 2021 at 16:19:21 UTC, lempiji wrote:
I have created a tool that executes the code blocks included in 
Markdown.


http://github.com/lempiji/md

I'm sure some of everyone have experienced that the code 
examples in the documentation don't work.


With this tool, you can execute Markdown code directly and 
always validate it with CI.


```
dub run md -- README.md
```

The syntax of dlang is not affected by indentation, and 
`import` can be written anywhere, so it was a very simple 
mechanism to achieve this.


However, there may be a better way. If you found it, please try 
to create it.


I think dlang ❤ Markdown


Thank you for sharing.

If I have code that produces an image (eg .PNG) or another 
markdown block with an image.

Is there way to make it work within the overall input .MD document
(trying to think of  a way to create an 'active' document)



Re: Release md v0.3.1

2021-05-08 Thread Jordan Wilson via Digitalmars-d-announce

On Friday, 7 May 2021 at 16:19:21 UTC, lempiji wrote:
I have created a tool that executes the code blocks included in 
Markdown.


http://github.com/lempiji/md

I'm sure some of everyone have experienced that the code 
examples in the documentation don't work.


With this tool, you can execute Markdown code directly and 
always validate it with CI.


```
dub run md -- README.md
```

The syntax of dlang is not affected by indentation, and 
`import` can be written anywhere, so it was a very simple 
mechanism to achieve this.


However, there may be a better way. If you found it, please try 
to create it.


I think dlang ❤ Markdown


Cool! I'm definitely going to check it out.

Jordan


Re: Release md v0.3.1

2021-05-08 Thread Craig Dillabaugh via Digitalmars-d-announce

On Friday, 7 May 2021 at 16:19:21 UTC, lempiji wrote:
I have created a tool that executes the code blocks included in 
Markdown.


http://github.com/lempiji/md




```

The syntax of dlang is not affected by indentation, and 
`import` can be written anywhere, so it was a very simple 
mechanism to achieve this.


However, there may be a better way. If you found it, please try 
to create it.


I think dlang ❤ Markdown


This is a really great idea.  Thanks for your work on this.


Release md v0.3.1

2021-05-07 Thread lempiji via Digitalmars-d-announce
I have created a tool that executes the code blocks included in 
Markdown.


http://github.com/lempiji/md

I'm sure some of everyone have experienced that the code examples 
in the documentation don't work.


With this tool, you can execute Markdown code directly and always 
validate it with CI.


```
dub run md -- README.md
```

The syntax of dlang is not affected by indentation, and `import` 
can be written anywhere, so it was a very simple mechanism to 
achieve this.


However, there may be a better way. If you found it, please try 
to create it.


I think dlang ❤ Markdown