You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.1 KiB
60 lines
1.1 KiB
2 months ago
|
name: field.blocks.code.name
|
||
|
icon: code
|
||
|
wysiwyg: true
|
||
|
preview: code
|
||
|
fields:
|
||
|
code:
|
||
|
label: field.blocks.code.name
|
||
|
type: textarea
|
||
|
placeholder: field.blocks.code.placeholder
|
||
|
buttons: false
|
||
|
font: monospace
|
||
|
language:
|
||
|
label: field.blocks.code.language
|
||
|
type: select
|
||
|
default: text
|
||
|
options:
|
||
|
bash: Bash
|
||
|
basic: BASIC
|
||
|
c: C
|
||
|
clojure: Clojure
|
||
|
cpp: C++
|
||
|
csharp: C#
|
||
|
css: CSS
|
||
|
diff: Diff
|
||
|
elixir: Elixir
|
||
|
elm: Elm
|
||
|
erlang: Erlang
|
||
|
go: Go
|
||
|
graphql: GraphQL
|
||
|
haskell: Haskell
|
||
|
html: HTML
|
||
|
java: Java
|
||
|
js: JavaScript
|
||
|
json: JSON
|
||
|
latext: LaTeX
|
||
|
less: Less
|
||
|
lisp: Lisp
|
||
|
lua: Lua
|
||
|
makefile: Makefile
|
||
|
markdown: Markdown
|
||
|
markup: Markup
|
||
|
objectivec: Objective-C
|
||
|
pascal: Pascal
|
||
|
perl: Perl
|
||
|
php: PHP
|
||
|
text: Plain Text
|
||
|
python: Python
|
||
|
r: R
|
||
|
ruby: Ruby
|
||
|
rust: Rust
|
||
|
sass: Sass
|
||
|
scss: SCSS
|
||
|
shell: Shell
|
||
|
sql: SQL
|
||
|
swift: Swift
|
||
|
typescript: TypeScript
|
||
|
vbnet: VB.net
|
||
|
xml: XML
|
||
|
yaml: YAML
|