theSquashSH Posted April 14, 2013 Share Posted April 14, 2013 As a coder I often use Alfred's wonderful large type key command to quickly display snippets of code to colleagues without all the other distractions on my screen. If alfred provided built-in syntax it would make this much nicer. If built-in is too heavy, I'd be happy to do the syntax highlighting myself, but alfred still needs to provide a method of colorizing Large Type output through a workflow. ASCII escape sequences are one option, but I'm sure our friends at HQ can think of a better solution. Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 14, 2013 Share Posted April 14, 2013 As a coder I often use Alfred's wonderful large type key command to quickly display snippets of code to colleagues without all the other distractions on my screen. If alfred provided built-in syntax it would make this much nicer. If built-in is too heavy, I'd be happy to do the syntax highlighting myself, but alfred still needs to provide a method of colorizing Large Type output through a workflow. ASCII escape sequences are one option, but I'm sure our friends at HQ can think of a better solution. Rather than using large type, if this code is in a file you could just use quick look to preview it from Alfred. There are plugins available for quick look that provide syntax highlighting I know Link to comment Share on other sites More sharing options...
theSquashSH Posted April 14, 2013 Author Share Posted April 14, 2013 Rather than using large type, if this code is in a file you could just use quick look to preview it from Alfred. There are plugins available for quick look that provide syntax highlighting I know I already have them and use them frequently, what I use Alfred's Large Type for is specifically highlighting one small segment of code and making it huge, as well as readable. Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 14, 2013 Share Posted April 14, 2013 I already have them and use them frequently, what I use Alfred's Large Type for is specifically highlighting one small segment of code and making it huge, as well as readable. Ah gotcha. Link to comment Share on other sites More sharing options...
rjp Posted April 19, 2013 Share Posted April 19, 2013 If "Large Type" could have a "render HTML" mode, it would make this trivial using Pygmentize. Link to comment Share on other sites More sharing options...
theSquashSH Posted March 7, 2014 Author Share Posted March 7, 2014 Found a way to do it! Automator's built-in "Website Pop-Up" feature can render html and js even: http://macosxautomation.com/lion/websitepopup/index.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now