277 Commits (700b7d4d98ea60d5c364c07ac05c96e73f24c1a0)

Author SHA1 Message Date
Sean Pinkney 5e31929c4d add Stan language 2 years ago
Luc Perkins ae690bc7ef Add Nix to constants.js 2 years ago
Mike Fix c1d021abc5
disable eslint for solidity 2 years ago
Mike Fix 7bf1aca897
fix solidity
Closes #1388
2 years ago
Mike Fix f0cb962933 implement titleBar query support 2 years ago
Mike Fix e5d973cded
remove 2 presets 2 years ago
Mike Fix 26d1f95acf implement save button 2 years ago
Mike Fix 782e368c79
add Protocol Buffer mode
Closes #1358
3 years ago
JacobLinCool 45c1b2b113
chore: fix rate limit message typo (#1353)
"to" -> "too"
3 years ago
Chet Husk 85be5281c6
Add separate language mode for F# (#1333)
Since highlight.js has better support for F#, let's opt into that.
The CodeMirror mode is still 'mllike', however.
3 years ago
Ikko Ashimine 60def7b010
Fix typo in riscv.js (#1325)
Psuedo -> Pseudo
3 years ago
aymanesarrar 0e95506d35
eslint config for nextjs (#1322)
* eslint config for nextjs

* removed plugins, settings, parser from the config

* changed the script to next lint and installed the eslint next config package

* lint fixes

* move to dev dependencies

* remove unnecessary rules

* remove unnecessary babel deps

* lint on root dir

Co-authored-by: Mike Fix <mrfix84@gmail.com>
3 years ago
Joseph Musser 7e2a3f34bb
Add Cascadia font (#1278)
* Add Cascadia Code font

* Switch to using jsdelivr CDN with fontsource NPM package

* Sort fonts by alphabetical order

* remove Iosevka

Co-authored-by: cyntler <damian@cyntler.com>
Co-authored-by: Mike Fix <mrfix84@gmail.com>
3 years ago
Mike Fix 3c28398a99
add width query param option
Closes #1272
3 years ago
Michael Fix 6fd6d99a80
remove safari edge cases (#1273) 3 years ago
Michael Fix 4c639a2872
Auto close brackets (#1210)
* autoCloseBrackets

* runtime
3 years ago
Andrew Hayes 532f21b00f
don't sanitize payload for storage on frontend (#1192) 4 years ago
Michael Fix 711210e034
Fix `react-color` bugs (#1190)
* fix color picker styles

* fix rgba stringify on color picker change
4 years ago
Mike Fix decf263b79
revert adding redaxios
Closes #1178
4 years ago
Luca 52ae305f64
Switches Axios to Redaxios (#1170)
* Replace Axios with Redaxios

* contributer and yarn

* forgot to remove old axios from yarn.lock
4 years ago
Amit Keinan ecd8e631b7
Add export to imgur (#1158)
* add button and functionality

* Create a share menu and for twitter and imgur

* follow 'tweet' patterns

* remove unused carbonRef prop

* remove unused exportImgur

* share menu

* remove Share SVG

* combine tweet and imgur button components

* delete unused tweet and imgur button components

* remove options.filename

* onClickImgur

* change to async await to fix loading state

* NEXT_PUBLIC_IMGUR_CLIENT_ID

* return promise to fix loading state (remove async/await)

Co-authored-by: Mike Fix <mrfix84@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
4 years ago
Mike Fix c5fa086ef8
fix URL replace scroll behavior 4 years ago
Mike Fix 62955fd472
window.open _blank for twitter
closes #1163
4 years ago
Michael Fix efa8241226
remove promise delay (#1134) 4 years ago
Michael Fix cd7c6eb5c5
Clean up getCarbonImage (#1126)
* clean up getCarbonImage

* remove createObjectURL change

* bug fixes

* refactor getCarbonImage to use blobs/dataURLs only

* add console.error for copy to clipboard failures

* use blob.type for ClipboardItem

* add TODO
4 years ago
Michael Fix 9cf9815bf4
Upgrade deps (#1123)
* upgrade dev deps

* upgrade minor dependencies

* upgrade downshift

* upgrade React to 17

* upgrade match-sorter

* upgrade firebase
4 years ago
Brandan Neises 640590a689
Updated base16-light operator color to black (#1122) 4 years ago
Mike Fix 1628e15544
Revert "clean up escapePercentSign (#1101)"
Closes #1115
This reverts commit a1375754f9.
4 years ago
Michael Fix a1375754f9
clean up escapePercentSign (#1101) 4 years ago
Quinn Blenkinsop 035dd32052
Fix encoding % sign breaking SVG background (#1097) 4 years ago
Michael Fix 1e14c1b9bf
Local dom-to-image (#1083)
* create local copy of dom-to-image

* use local copy of dom-to-image

* comment out hacks

* remove superfluous argument passed
4 years ago
Mike Fix 421b92b226
fix typo in constants 4 years ago
Mike Fix 85569b67d2
fix tag highlighting for 'Night Owl' HTML mode
Closes #1047
4 years ago
aluc 41722923d5
add 'width' option for Carbon container (#949)
* feat: add 'width' option for Carbon container

* feat: draggable width adjustment

* chore: auto disable widthAdjustment when edge starts dragging

* remove label width default; tweak settings style

* use only right width handler

* use react effects, add a11y role and props

* clean up code

* use clamp fn

* move max and min widths out of state

* give WidthHandler a display name

* tweak variable names

Co-authored-by: Mike Fix <mrfix84@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
4 years ago
Michael Fix 042a20b60e
allow passing filename query param to get snippet (#1007) 4 years ago
Michael Fix a507b07dc3
Test Next public env vars (#1006)
* test next public env vars

* make next.config.js smaller
4 years ago
Michael Fix 44f658bb69
Upgrade highlight.js (#996)
* upgrade highlight.js

* add latex highlighter
5 years ago
Michael Fix 9d9280d0ee
rename nimrod to nim (#997) 5 years ago
Michael Fix 419070e895
Snippets name input (#992)
* snippets name input

* set 'name' property

* code

* update snippet name in /snippets

* fix imports

* snippet name -> add a name
5 years ago
Michael Fix 4d621030e5
update theme variable color definitions (#990) 5 years ago
Michael Fix bc649fa0aa
allow setting variable 2 and 3 in config (#988) 5 years ago
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 17c0ac67b9
Upgrade dependencies (#981)
* upgrade deps

* bump dev deps

* upgrade react-codemirror2

* rename parser-bablyon to parser-babel

* update prettier options
5 years ago
Tymoteusz Makowski be2170a059
Added JetBrains Mono font. (#962) 5 years ago
Mike Fix a0c7fac3f8
update util 5 years ago
Caleb Taylor 660f148a19 Fixed first prefix always selected(hightlighted / cursor "not allowed") (#922)
* The first preset is always selected(highlighted/cursor “not allowed”). In presets file, selected is based on the value of property preset from the default settings object. All preset objects do not have this property but have id instead, since default settings has property preset, all the presets inherit the same property preset, which is why the first preset was always highlighted. Fixed by replacing key name preset to id in default settings.

* removed id key from default settings

* preset is no longer a key in default settings

Co-authored-by: Michael Fix <mrfix84@gmail.com>
5 years ago
Michael Fix d5d5167571
Hook up new cypress project (#919)
* hook up new cypress project

* add --

* fix flakey test

* try removing duplicate CYPRESS_CI flag

* try this

* and this

* revert

* attempt fix URI encoding issue
5 years ago
Bakti Aditya f3bdaf4001 Display whitespace (#879)
* Display whitespace

resolve #877

* Update

* Update Settings.js

* hiddenCharacters

* tweak

* clean up a bit
5 years ago
Eric Bailey 28362d2173 Add a11y-dark theme (#887)
* Add a11y-dark theme

* rename A11y Dark
5 years ago
Viktor Nemes 191113aa5f Load selected lines from query params (#878)
* Make the editorRef as a required parameter of useGutterClickHandler

For the external line number selection it is required that we access the CodeMirror editor anywhere in the hook

* Refactor the line highlight logic to handle "unknown" lines as non-selected

Only execute the highlight when there is a valid selection (there are some keys set in state.selected)
Additionally also execute the highlight logic when the line numbers are not visible (E.g. line.gutter is falsy)

* Pass in the selectedLines from the query string and implement the pre-selection logic

* Rename useGutterClickHandler to better explain its function

* Adding nemesv as contributor

* quick tweak

* tweak
5 years ago