Shihua Ma
b1371508ed
fix base64 bug ( #412 )
...
* fix base64 bug
The Base64 table has Char '+' [https://en.wikipedia.org/wiki/Base64 ](https://en.wikipedia.org/wiki/Base64 ), it will turn to blank characters in url request, It will cause some error when deserializeState the state.
* Fix encodeURIComponent for serialize
6 years ago
Mike Fix
0525a9fcca
Pull out formatTimestamp into function
6 years ago
erick
d0d3589dc4
Add optional timestamp to saved file names ( #430 )
...
* Add timestamp to file name save
* Add .DS_Store to .gitignore
* Add setting to toggle timestamp on file save
* Tweak timestamp format
6 years ago
Maxim Gerasimov
e92e4567de
Add Nord theme ( #426 )
...
* Add Nord theme
* Add descendant selector in nord.css
6 years ago
Winner Crespo
452370772f
Adding VS Code's Night Owl theme ( #379 )
6 years ago
Jake Archibald
c4e224df29
Adding line-height setting & granular font size. ( #410 )
...
* Adding line-height option. Fixes #406 .
* Allowing more granular font size
6 years ago
Tirth Patel
4dff52ed79
Added sTeX/LaTeX Language Support ( #419 )
...
* added latex language support
* sTeX/LaTeX name changed to LaTeX
* Placed Latex in alphabetical order
6 years ago
Mike Fix
d0b02d53a5
Reuse escapeHtml
7 years ago
Michael Fix
2a52d101e7
Fix spinner position ( #398 )
7 years ago
Mike Fix
27470a90a3
Clean up custom modes
7 years ago
Brian Dennis
d885b63b3a
add alt text support for Twitter images ( #372 )
...
* add alt text support for Twitter images
* move constant declarations up
* Use UNSAFE_cWRP
* remove duplicate TODO (whoops)
7 years ago
Mike Fix
d98319d5d9
Alphabetize languages
7 years ago
Ankit Tiwari
d59d4a99d7
Add Octave language support ( #369 )
...
* Add Octave language support
* Update constants.js
* Clean up
7 years ago
Michael Fix
89931eab59
Add linting back ( #349 )
7 years ago
Michael Fix
3bbb98a3a2
Revert "Refactor state components ( #338 )" ( #348 )
...
This reverts commit 0a59db56c8
.
7 years ago
Michael Fix
0a59db56c8
Refactor state components ( #338 )
...
* WIP: Unstated works
* WIP: extract into its own file
* Container instance
* Remove unused variables
* Move toolbar children into Toolbar
* Extract our Coder interface
* Remove top level subscription
* Bug fix
* WIP
* Remove old dependencies
* Add import eslint plugin
* Rename components
- add createRef TODO [ ]
* Bug fixes
* Rename Coder -> CodeWindow
* Address comments
- Rename to variable
- Rename onDrop from Editor containers perspective
* More variable renaming
7 years ago
Michael Fix
80cf355b44
Use gist language response ( #343 )
...
* Use gist language response
* Use gist language response - fix when no queryparams are given (#344 )
* fix when no queryparams are given
e.g. http://carbon.now.sh/3208813b324d82a9ebd197e4b1c3bae8 would still not set the language property because the initialState is null
* move gist language to its own test
* Update test
7 years ago
Vernon de Goede
f8579bac73
Add support for Verminal theme 💅 ( #341 )
...
* Add verminal theme.
* Only decrease opacity if vibrancy is supported.
* Use Framer Syntax.
* Reset constants.
* Don't prefill example env variables.
7 years ago
Eric Adamski
fd63008f12
Add Supoprt for IBM Plex Mono ( #324 )
...
* Add support for IBM Plex Mono (Italic) font
* Add myself as a contributor
* Alphabetize Fonts
7 years ago
briandennis
f49b7649fb
reorganize custom themes/modes
7 years ago
Ben Jervis
f15d7a83e2
Adds Atom's One Dark theme ( #319 )
...
* Adds Atom's One Dark theme
* Moves one-dark.css into static
* Moves the file from a stylesheet link to an import
* Removes the link from constants
7 years ago
Camron Flanders
98403b2ad2
Add Monoid Font ( #314 )
...
* Add Fantasque Sans Mono as font-face
* Add Fantasque Sans mono to constants
* Set to regular weight, not bold
* forgot to add myself as contrib
* add Monoid font
7 years ago
Camron Flanders
eef096bc49
Add Fantasque Sans Mono font ( #313 )
...
* Add Fantasque Sans Mono as font-face
* Add Fantasque Sans mono to constants
* Set to regular weight, not bold
7 years ago
Michael Fix
9dd8d3a9c4
Fix issue 294 ( #305 )
7 years ago
Mike Fix
53b8965b79
Watermark in URL parameters"
7 years ago
Michael Fix
5a4cdd7d7f
Lint and fix issues, don't add linting yet though ( #293 )
...
* Lint and fix issue, don't add linting yet though
* Clean up
* Remove /about href
7 years ago
Michael Fix
a6324586eb
Performance improvements ( #287 )
...
* Perf improvements. Limit rerender on keystrokes
* Spread settings props, make dropdowns and carbon pure
* Remove last TODO
* Pass state into value of titleBar input
* Clean up
7 years ago
Raphael Amorim
7f40e9b469
[WIP] add lucario as theme option and update contributors ( #292 )
...
* add lucario as theme option and update contributors
* undo miss change
* update codemirror to latest
7 years ago
Mike Fix
034c35ca92
Back to 2x default
7 years ago
Jake Dexheimer
c6be4f0295
prettier
7 years ago
briandennis
fe1df904ea
pass encode state to api instead of url
7 years ago
briandennis
fa5f5f7036
add state query support
7 years ago
briandennis
89a80c3c2b
add state query support
7 years ago
briandennis
57dddd0b19
add /image api endpoint, use it to get carbon image if on safari
7 years ago
Mike Fix
7fce4060f0
Default to 1x
7 years ago
Mike Fix
1b5ed6a60c
Fix CMD+A backspace issue
...
- Closes #272
7 years ago
Jake Dexheimer
f79d01ad9b
Add RandomImage component
7 years ago
Jake Dexheimer
9499248e1c
Add watermark feature ( #274 )
...
* Add watermark feature
* Change watermark to carbon logo
* Fix double borders
7 years ago
Mike Fix
3168ddb0ad
Add title bar to default settings
7 years ago
Michael Fix
70928b765e
Iosevka font ( #268 )
...
- Closes #233
7 years ago
Jake Dexheimer
4c86468e50
Rename ResolutionSelect
7 years ago
Takahiko Inayama
b7adab9bea
Support variable export sizes ( #264 )
7 years ago
Adi Vaknin
56f11f404f
Added missing settings to mapping in routing.js so they will update the url
7 years ago
Jake Dexheimer
3c0b3dd387
Fix dropdown hover/width, window themes bg
7 years ago
briandennis
46091f6dc5
URI component encode carbon text
7 years ago
Nihad Abbasov
e3d2646885
Add Tomorrow Night - Bright theme ( #222 )
...
* Add Tomorrow Night - Bright theme
https://github.com/chriskempson/tomorrow-theme
* Update contributors
7 years ago
Iván MunguÃa
b2f6e1c963
Add syntax highlighting for Apache
7 years ago
briandennis
5af953cd2e
remove empty state values so as not to override defaults
7 years ago
briandennis
d62145f727
modify default settings constant, use new constant when setting initial settings
7 years ago
Dillon Mulroy
7a2b778204
Initial Proof of concept
7 years ago
Mike Fix
959703c51a
Fix localStorage
7 years ago
Michael Fix
3d4ba85732
Sanitize color inputs ( #196 )
...
* Sanitize color inputs
* Remove unneeded dep
* Move to constants
* Case insensative
7 years ago
Brad Dougherty
71e535e9e2
Fix boolean params ( #195 )
...
* Parse boolean query params properly
* Update routing.js
7 years ago
Mike Fix
abb0948324
Fix escape error
7 years ago
Mike Fix
bb4eb1ed9a
XSS localStorage
7 years ago
Iván MunguÃa
a3697f48b9
Add syntax highlighting for the diff language ( #191 )
7 years ago
Jake Dexheimer
71abf28466
Use x-php mime-type
7 years ago
Hugo
a69a3f2e44
Add Oceanic Next theme ( #167 )
...
* Add Oceanic Next theme
* Update Codemirror to 5.34.0
7 years ago
Jake Dexheimer
cbc6824b83
Background image settings ( #169 )
...
* Implement drag-n-drop image for backgrounds
- Closes #122
* In progress
* Add background-size, background-position settings
* Add ReactCrop
* Remove old bg sizing sliders
* Add resize observer
* Fix typo
* Disable select on sliders
* onAspectRatioChange hook
* Rename to backgroundColor
* Fix state issues
* Add backgroundMode toggle
* Rename ColorPicker
* Add upload-image margin
* Minor font-size change
* Fix build
7 years ago
Brian Dennis
77af47b59e
add PowerShell langauge ( #174 )
...
* add PowerShell langauge
* remove npm lockfile
* update lockfile
7 years ago
Mike Fix
8e2c725267
Fix build
7 years ago
Kunall Banerjee
73eb4ac2cd
add support for shell syntax ( #172 )
...
Closes #168
7 years ago
Michael Fix
ed9993170f
GraphQL Type ( #164 )
7 years ago
Jake Dexheimer
38cc0f91af
Font support ( #149 )
...
* Add font family/font size support
* Load fonts with css
* Change settings item order
7 years ago
Mike Fix
9ce3558a44
Fix typescript vs js naming descrepancy
...
- Closes #139
7 years ago
Brad Davies
9435c7564f
Renamed to 'MySQL'
7 years ago
Brad Davies
1a1a384db3
Fix MySQL syntax highlighting.
...
The MySQL syntax highlighting does not currently work unless you explicitly define the correct MIME type associated with it (`text/x-mysql`).
7 years ago
slorber
4cfbb8f3d1
fix cursor jumping at the end after every editor update
7 years ago
Andrew Dassonville
921d6b40b2
Fix crash when using Plain Text ( #129 )
7 years ago
Kunall Banerjee
830828d6c5
remove erroneous constant ( #127 )
...
This resulted in an unrecognized theme that further caused a bug in the UI.
7 years ago
Mike Fix
8dec652c2a
Fix URL bugs
7 years ago
Michael Fix
bdc9211d25
Fix state bugs, fix drag-n-drop bugs, fix url encoding bugs ( #126 )
...
* react-codemirror to react-codemirror2@3
* Fix encoding queryParam issues
* Fix gist support
7 years ago
Jake Dexheimer
9379528ccc
Remove line numbers background style
7 years ago
Jake Dexheimer
f13b394ebd
Fix default theme
7 years ago
Michael Fix
63f43dcc40
Save and update query params based on editor state ( #111 )
...
* Save and update query params based on editor state
* Fix typo and asPath bug with new queryParams
7 years ago
Mat Gadd
ba6e8c4e6f
Use parentheses around the theme to match others, and use the same order as ones above
7 years ago
Mat Gadd
03259f473c
Add extra constants for Solarized flavours
7 years ago
Jake Dexheimer
96ac36baf5
Fix component state issues
7 years ago
Jake Dexheimer
ee0feeb527
Twitter colorpicker -> Sketch colorpicker
7 years ago
Kunall Banerjee
1f9c81df9e
add support for base-16 syntax ( #101 )
7 years ago
Stosh Fabricius
9be9ef1ac5
Add Elixir to available languages ( #61 )
...
* Add Elixir mode to available languages
* Update module to mode
7 years ago
Jake Dexheimer
de11ff034f
Add hover styles
7 years ago
Michael Fix
0c365218d6
Load and store state from localStorage ( #80 )
...
* Load and store state from localStorage
* remove idea of localStorage from get and set state fns
7 years ago
Mike Fix
598ca88b98
React-codemirror -> react-codemirror2
...
- Closes #64
7 years ago
Andrew Dassonville
9b7abc50d3
Add more JavaScript-like languages
7 years ago
Jake Dexheimer
7bfa2ef621
Add support for more clike languages
7 years ago
briandennis
93c0214081
use set lookup to keep track of loaded modes
7 years ago
Andrew
f3b80b1783
Use mode instead of module
7 years ago
Andrew Dassonville
1500627c3b
Use CodeMirror Kotlin
7 years ago
Jake Dexheimer
27bad782b4
Fix solarized theme, remove redundant light:true
7 years ago
Andrew
3cbcb49c27
Remove semicolons
7 years ago
Andrew Dassonville
7e69ca2897
Add prettier
7 years ago
Andrew Dassonville
6b1e0aedaa
Add Kotlin support
7 years ago
Oto Brglez
f309fbaf47
Adding support for Scala.
7 years ago
Mike Fix
26ea4615f7
Fix Selecting a language and then going back to auto
...
- Closes #37
7 years ago
briandennis
878e9e4f2e
import custom modules
7 years ago
briandennis
fecf754495
add nimrod to custom modules
7 years ago
Dominik Picheta
89ec557e50
Add Nim language
7 years ago
Chris Ball
b91a9d55dd
Add my favorite theme
7 years ago
Krzysztof Cieślak
65acc18779
Add F# / OCaml mode
7 years ago
Jake Dexheimer
d6b4db144a
Default theme
7 years ago
Jake Dexheimer
208242ae1e
Update themes
7 years ago
Mike Fix
c9d4f9ea56
Add JSX
7 years ago
briandennis
f71506ffbd
move debounce to api
7 years ago
Brian Dennis
db73c56eca
Add notification of Twitter rate limiting ( #13 )
...
* add rate limiting detection to handler
* alert user on rate limit error
* Update api.js
* Add morphmorph dep
7 years ago
Mike Fix
3ca3e254b2
Fix language inconsistancies
...
- Depend on toHash
- Move auto out of languages export
7 years ago
Michael Fix
52fcb7e86b
Merge pull request #10 from dawnlabs/language
...
Make language highlighting dynamic and handle auto selection
7 years ago
briandennis
c4296c7ee7
add language hash
7 years ago
Mike Fix
646d8919c5
Clean up old code
7 years ago
Mike Fix
1cf0757324
Slight updates
7 years ago
briandennis
3a60e4622f
add tweet api function
7 years ago
briandennis
dd9ba60d70
set languge when changed from toolbar
7 years ago
Jake Dexheimer
bf374f1728
Clean up styles
...
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
7 years ago
Jake Dexheimer
5aa85443dc
Add new logo, colors
7 years ago
Jake Dexheimer
ad43cd7d32
Add link styles
7 years ago
Jake Dexheimer
741451271d
Better defaults
7 years ago
Jake Dexheimer
96dff6d8fe
Style /about page
7 years ago
Jake Dexheimer
d62bbf1a90
Minor style additions
7 years ago
Jake Dexheimer
85b193e1f1
Make pretty 👻
7 years ago
Mike Fix
54201ba701
Add module definitions
7 years ago
Jake Dexheimer
7e295817c7
Fix default code
8 years ago
Jake Dexheimer
2729531ad6
Start global color palette
8 years ago
Mike Fix
51b0087a3b
Link CDN from constants
8 years ago
Mike Fix
9001198ad5
Pass config into codeimage;
8 years ago
Mike Fix
d7bf3be820
pass config object
8 years ago
Mike Fix
d0c0f18b45
move constanst to separate file
8 years ago
Mike Fix
01e8b46966
Hook up imgur
8 years ago
Mike Fix
b16b0d6d78
Add Gist support
8 years ago
briandennis
820cd3b13a
move api to lib
8 years ago