153 Commits (1a9e061d3ba03ea8e92875458b7cc26001bd8f4d)

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 e5d973cded
remove 2 presets 2 years ago
Mike Fix 26d1f95acf implement save button 3 years ago
Mike Fix 782e368c79
add Protocol Buffer mode
Closes #1358
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
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
Brandan Neises 640590a689
Updated base16-light operator color to black (#1122) 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>
5 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
Tymoteusz Makowski be2170a059
Added JetBrains Mono font. (#962) 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
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
Mike Fix 7189878573 remove old unused margin{Vertical,Horizontal} 5 years ago
Mike Fix 420f1333c0 move blue/red colors into constants 5 years ago
Andrew Dassonville 830442c64a Add support for first line number setting (#849)
* Add support for first line number setting

* Set min value to 0

* Add number types

* add label and width settings to Input

* use Input component instead of Text

* remove unused types

* first-row -> first-line-number-row

* more .row into global stylesheet
5 years ago
Michael Fix ecaf48b30c
Bundle size (#844)
* just load SketchPicker

* remove colornames package

* load other highlight.js modes lazily

* add bundle analyzer hook

* only load modes once per session

* fix up modes loaded

* fix up
5 years ago
Mike Fix 53405a4c99 clean up language list 5 years ago
RohitMidha23 039523d0ac Added: XQuery (#779) 5 years ago
Michael Fix a49647e128
Solidity language (#788)
* WIP: solidity, doesn't work though

* codemirror-solidity 0.1.4
5 years ago
Michael Fix 942f21e7db
Refactor mode loading into Carbon (#825)
* refactor mode loading into Carbon

* made alreadyLoaded Set a static property
5 years ago
Michael Fix ddc611a6f9 Refactor preset state (#822)
* refactor preset state

* remove unnecessary constant
5 years ago
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows (#810)
* - Added ability to set optional `text-shadows` on themes.
- Extended `THEMES` to include optional `shadows` setting.
- Added SynthWave '84 theme. See https://github.com/robb0wen/synthwave-vscode

* - Changed ID of `SynthWave-84` theme to `synthwave-84`
- Added synthwave-84 to LOCAL_STYLESHEETS
- Migrated SynthWave-84 theme to `static/themes/synthwave-84.css`
- reverted a few things from 3f9daaf9ecee4561f9fad1bbdb8f38fd58a631c6
  - Reverted global text-shadows
  - Reverted constants.js/themes model changes.

* Update Meta.js
5 years ago
Nato Boram b757687802 Add VSCode's theme (#769)
* add vscode theme

* pin Next.js version

* remove highlight only css fetches
6 years ago
Mike Fix 4e1b6259e6 add shortname for jsx 6 years ago
Michael Fix fc715faf0d Update constants.js 6 years ago
Ahmad Awais ⚡️ f5ab1f0f1a 👌 IMPROVE: Operator vs Keyword colors 6 years ago
Ahmad Awais ⚡️ 5ac1971d9f 🐛 FIX: White color 6 years ago
Ahmad Awais ⚡️ 40ad13cc60 📦 NEW: Shades of Purple Theme 6 years ago
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme 6 years ago
raboid 4dea566193 rework logic 6 years ago
Mike Fix fa9fa15ea5 add gherkin 6 years ago
Jalen Davenport b05108220b Added Twig language support (#686) 6 years ago
Matthew Nielsen 9b885c6fd9 Added language support for RISC-V (#655)
* added language support for RISC-V

* added optional instruction set extensions for RISC-V
6 years ago
Mike Fix 8100090b17 revert dynamic Codemirror mode import
- Closes #653
6 years ago
Michael Fix 80122adea6
Use dynamic import components (#642)
* use dynamic import components

 - react-color components
 - Watermark

* Dynamically import modes

* revert next.config.js

* update language filter
6 years ago
Sean a1e05af5c0 Custom themes (#632)
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
6 years ago
Mike Fix dbde17a65f reduce imports and exports 6 years ago
raboid 3aec3ebc28 Conditionally disable PNG export for Safari 6 years ago
raboid e5b3d39d4e Update ExportMenu to use Popout, Button, Input 6 years ago
Mike Fix 59b77c7b2f add mime to Go
Closes #608
6 years ago
Joshua Robusto 3009533bf4 Add TSX language (#605) 6 years ago