Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA Snippet and markdown file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Adequat
Tomato Guru

182 Posts

Posted - Apr 25 2018 :  04:08:26 AM  Show Profile  Reply with Quote
In your predefined snippets, you have two interesting ones:

"Markdown code lines"
"Markdown inline code"

Problem: if you open a markdown file (the common file extension is .md), then the VA menu "Surround with VA Snippet" is not available, which makes these snippets useless.

The .md files, which are a documentation standard, should benefit from the same VA support as comment sections in source code.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 25 2018 :  2:29:41 PM  Show Profile  Reply with Quote
I wasn't able to find those snippets. Are you seeing them in the VA Snippet Editor?

I've opened a case for at a minimum treating .md / .markdown similar to .txt: case=116064.
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 26 2018 :  01:20:05 AM  Show Profile  Reply with Quote
Maybe I did those snippets many years ago then forgot ;)
But that does remove the problem. Thanks for opening a case.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 27 2018 :  07:10:58 AM  Show Profile  Reply with Quote
I don't recall ever seeing those snippets myself, or dealing with markdown files, so I suspect you did add these yourself. That's only relevant because I am just checking that we have not lost snippet support for markdown files without anyone noticing

Out of interest, what is a "markdown" file? I am familiar with the concept of markdown as a standard for text formatting for websites, so am I correct in assuming that a markdown file is simply a txt file that uses markdown formatting?

zen is the art of being at one with the two'ness
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 29 2018 :  01:39:52 AM  Show Profile  Reply with Quote
quote:
a markdown file is simply a txt file that uses markdown formatting?


Yes. The standard file extension is .md
This is really a standard today, especially with the advent of github.

Edited by - Adequat on Apr 29 2018 01:41:39 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 01 2018 :  12:47:38 PM  Show Profile  Reply with Quote
Good to know, thank you. I occasionally go hunting for code samples on Github, but haven't really looked at it beyond that. Always something new to learn :) Also good to know we haven't broken this, it's just not yet supported.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 13 2018 :  2:47:28 PM  Show Profile  Reply with Quote
case=116064 is addressed in build 2283.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000