Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

workflowyCodeFormatter

A simple and lightweight solution to the WorkFlowy code dilemma.

WCF Marquee

One user said:


@ryanpcmcquen @WorkFlowy Nice and light. Very WorkFlowian.

— J Rawlins (@jprawlins) November 15, 2015

What happened to syntax highlighting?

If you've been a user for a while, you may remember that this extension supported language specific syntax highlighting at one time. Unfortunately, both the Chrome and Firefox extension reviews have become more stringent over time, and even though I was using a reputable open source syntax highlighting library (https://github.com/googlearchive/code-prettify), I was constantly getting rejections or would randomly have the extension unpublished because some file in that library was flagged as nefarious. For that reason, I've switched to Microlight (https://asvd.github.io/microlight/). Now the syntax highlighting is language and theme agnostic, and baked right into the codeFormatter library (https://github.com/ryanpcmcquen/codeFormatter).

Web store README


Make backtick wrapped text look like code! {openSource}

An open source extension to make backtick wrapped text look like code in WorkFlowy.

Unlike 'WorkFlowy for coders', this solution is lightweight, pure JavaScript, and still allows editing text in all views.

Any text wrapped in 1 or 3 backticks will be rendered as code (inspired by Markdown syntax).

Use 1 backtick for inline code, and 3 backticks to wrap multi-line code. Note that the 3 backticks MUST be on their own line.

Note that extensions do not work inside of Chrome apps, so if you are using the WorkFlowy 'app', this extension will not be running. This is a limitation of Chrome apps and extensions.

Enjoy!

https://github.com/ryanpcmcquen/workflowyCodeFormatter


Web store link:

https://chrome.google.com/webstore/detail/workflowy-code-formatter/kglihipcanlbglgikjghocmbbbbkfemn


Before WCF 1

After WCF 1

Before WCF 2

After WCF 2

If you don't already have a WorkFlowy account, please consider using my referral link (we'll both get bonus free space)! 🎉


Thanks to Corri Blair for the awesome graphics!

This extension also uses (as a submod):

https://github.com/ryanpcmcquen/codeFormatter

You can’t perform that action at this time.