Hi, 

You can download and drag and drop import the file. It contains 3 tiddlers. 

 - cmd-code-macro-test
 - cmd-code-macro
 - $:/core/macros/copy-to-clipboard

At the moment the core copy-to-clipboard macro can't handle single backtick 
code eg: `cd c:\` so I needed to modify the core copy-to-clipboard macros. 

cmd-code-macro contains 

.code, .cmd and _cmd macros. The tiddler cmd-code-macro-test contains some 
examples, which you can see in edit-mode. 

The whole thing is a bit hacky at the moment. So I may create a 
pull-request on github. But I'm not 100% sure how it can be improved and I 
don't have more time atm. 

have fun!
mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea540cf4-3a9c-462d-ae9a-c9bd0cc0489b%40googlegroups.com.

Attachment: cmd-code-copy-to-clipboard.json
Description: application/json

Reply via email to