From 8485924d85d35eb80f0b7345258ec8b39ec37969 Mon Sep 17 00:00:00 2001 From: FIameCaster <82079841+FIameCaster@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:44:49 +0200 Subject: [PATCH] Update readme --- package/package.json | 2 +- package/src/testsite/style.css | 4 +- readme.md | 77 +++++++++++++++++++--------------- 3 files changed, 46 insertions(+), 37 deletions(-) diff --git a/package/package.json b/package/package.json index 7d71c2ea..e1daca3e 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "prism-code-editor", - "version": "3.2.1", + "version": "3.3.0", "type": "module", "description": "Lightweight, extensible code editor component for the web using Prism", "main": "./dist/index.js", diff --git a/package/src/testsite/style.css b/package/src/testsite/style.css index 5a55935d..0c8537dc 100644 --- a/package/src/testsite/style.css +++ b/package/src/testsite/style.css @@ -158,7 +158,7 @@ readonly-editor { border-bottom-color: hsl(210, 80%, 50%); } -.header { +div.header { display: flex; align-items: center; padding: 0 1.4rem; @@ -304,7 +304,7 @@ main .input-group > * { --focus-ring: hsl(210, 70%, 60%); color-scheme: dark; } - .header { + div.header { background: #16191d; } .header .tab.active { diff --git a/readme.md b/readme.md index e749a713..4a1e453d 100644 --- a/readme.md +++ b/readme.md @@ -412,12 +412,14 @@ Lastly, if you know exactly which languages you need, you can import behavior fo ImportLanguages/aliases added + abapabap abnfabnf actionscriptactionscript adaada + agdaagda alal - apacheconfapacheconf antlr4g4 and antlr4 + apacheconfapacheconf apexapex aplapl applescriptapplescript @@ -427,26 +429,29 @@ Lastly, if you know exactly which languages you need, you can import behavior fo arturoart and arturo asciidocadoc and asciidoc asmarm-asm, armasm, asm6502, asmatmel and nasm + aspnetaspnet autohotkeyautohotkey autoitautoit avisynthavs and avisynth avro-idlavdl and avro-idl - aspnetaspnet awkawk bashbash + basicbasic + batchbatch + bbjbbj bicepbicep - bisonbison birbbirb + bisonbison bqnbqn brightscriptbrightscript brobro - bslbro - chaiscriptchaiscript + bslbsl cfscriptcfscript + chaiscriptchaiscript cilcil - clojureclojure - clikeclike, js, javascript, ts, typescript, java, cs, csharp, c, cpp, go, d, dart, flow and haxe cilkcilk-c, cilkc, cilk, cilk-cpp and cilkcpp + clikeclike, js, javascript, ts, typescript, java, cs, csharp, c, cpp, go, d, dart, flow and haxe + clojureclojure cmakecmake cobolcobol coffeescriptcoffee and coffeescript @@ -459,11 +464,11 @@ Lastly, if you know exactly which languages you need, you can import behavior fo cyphercypher dataweavedataweave daxdax - djangojinja2 and django dhalldhall + djangojinja2 and django dns-zone-filedns-zone and dns-zone-file - dotgv and dot dockerdockerfile and docker + dotgv and dot ebnfebnf editorconfigeditorconfig eiffeleiffel @@ -473,6 +478,7 @@ Lastly, if you know exactly which languages you need, you can import behavior fo erberb erlangerlang etluaetlua + excel-formulaxlsx, xls and excel-formula factorfactor falsefalse firestore-security-rulesfirestore-security-rules @@ -480,44 +486,44 @@ Lastly, if you know exactly which languages you need, you can import behavior fo fsharpfsharp ftlftl gapgap - gdscriptgdscript gcodegcode + gdscriptgdscript gettextgettext + gherkingherkin gitgit - gmlgamemakerlanguage and gml glslglsl and hlsl - gherkingherkin + gmlgamemakerlanguage and gml gngni and gn go-modulego-mod and go-module gradlegradle graphqlgraphql groovygroovy hamlhaml - haskellidr, idris, hs, haskell, purs and purescript handlebarsmustache, hbs and handlebars + haskellidr, idris, hs, haskell, purs and purescript hclhcl + hoonhoon htmlmarkup, html, markdown and md ichigojamichigojam - hoonhoon iconicon iecstiecst - iniini - inform7inform7 ignorenpmignore, hgignore, gitignore and ignore + inform7inform7 + iniini ioio jj joliejolie - jsonjson, json5 and jsonp jqjq + jsonjson, json5 and jsonp jsxjsx and tsx - keepalivedkeepalived juliajulia + keepalivedkeepalived keymankeyman kotlinkts, kt and kotlin kumirkumir - lattelatte - latexcontext, tex and latex kustokusto + latexcontext, tex and latex + lattelatte lilypondly and lilypond linker-scriptld and linker-script liquidliquid @@ -525,10 +531,10 @@ Lastly, if you know exactly which languages you need, you can import behavior fo livescriptlivescript llvmllvm lolcodelolcode + lualua magmamagma makefilemakefile matamata - lualua matlabmatlab maxscriptmaxscript melmel @@ -536,12 +542,12 @@ Lastly, if you know exactly which languages you need, you can import behavior fo metafontmetafont mizarmizar mongodbmongodb - moonscriptmoon and moonscript monkeymonkey + moonscriptmoon and moonscript n1qln1ql n4jsn4jsd and n4js - naniscriptnani and naniscript nand2tetris-hdlnand2tetris-hdl + naniscriptnani and naniscript neonneon nevodnevod nginxnginx @@ -553,35 +559,35 @@ Lastly, if you know exactly which languages you need, you can import behavior fo odinodin openclopencl openqasmqasm and openqasm - parigpparigp ozoz + parigpparigp parserparser - peoplecodepcode and peoplecode pascalpascaligo, objectpascal and pascal - plant-umlplantuml and plant-uml + peoplecodepcode and peoplecode perlperl phpphp - processingprocessing - prologprolog + plant-umlplantuml and plant-uml powerquerymscript, pq and powerquery powershellpowershell + processingprocessing + prologprolog promqlpromql propertiesproperties - pslpsl protobufprotobuf + pslpsl pugpug puppetpuppet purepure purebasicpbfasm and purebasic pythonrpy, renpy, py and python - qmlqml qq + qmlqml qoreqore qsharpqs and qsharp rr reasonreason - rescriptres and rescript regorego + rescriptres and rescript restrest riprip roboconfroboconf @@ -617,17 +623,18 @@ Lastly, if you know exactly which languages you need, you can import behavior fo twigtwig typoscripttsconfig and typoscript unrealscriptuc, uscript and unrealscript - vv uorazoruorazor + vv valavala - verilogverilog + vbnetvbnet velocityvelocity + verilogverilog vhdlvhdl vimvim visual-basicvba, vb and visual-basic warpscriptwarpscript - web-idlwebidl and web-idl wasmwasm + web-idlwebidl and web-idl wgslwgsl wikiwiki wolframnb, wl, mathematica and wolfram @@ -637,6 +644,8 @@ Lastly, if you know exactly which languages you need, you can import behavior fo xojoxojo xqueryxquery yamlyml and yaml + yangyang + zigzig