分享时间 | 2019-05-27 02:13 |
最后更新 | 2019-12-27 00:43 |
修订版本 | 4 |
用户许可 | -未设置- |
Quicker版本 | 1.2.27 |
动作大小 | 7.4 KB |
在 ubuntu pastebin 生成代码预览, 主要用于和他人分享代码
更多自定义方法请参考演示图片下方的补充说明
1. 如何设置默认语法
修改 syntax 变量 , 各语言的值可以在 "用户选择" 步骤中查看
2. 如何跳过语言选择 (即直接使用默认的语言 , 简化操作)
修改 willChooseSyntax 为 false 即可
3. 如何跳过修改代码
修改 willEdit 为 false 即可
4. 生成后不在浏览器打开
修改 willOpenInBrowser 为 false 即可
5. 如何添加或修改语言列表
在"用户输入(选择语言类型)" 中按照格式修改, 下面有 ubuntu pastebin 支持的所有语言类型
6. 如何修改作者(Poster)
修改 poster 即可 (未 URL编码处理, 请使用常规字符)
PS: 感谢 https://paste.ubuntu.com 提供的免费优质服务.
PPS: 这个网站在国外, 速度较慢 , 生成时请耐心等待.
https://paste.ubuntu.com 支持的所有语言类型:
Plain Text|text
Gherkin|Cucumber
ABAP|abap
Ada|ada
autohotkey|ahk
ANTLR|antlr
ANTLR With ActionScript Target|antlr-as
ANTLR With CPP Target|antlr-cpp
ANTLR With C# Target|antlr-csharp
ANTLR With Java Target|antlr-java
ANTLR With ObjectiveC Target|antlr-objc
ANTLR With Perl Target|antlr-perl
ANTLR With Python Target|antlr-python
ANTLR With Ruby Target|antlr-ruby
ApacheConf|apacheconf
AppleScript|applescript
ActionScript|as
ActionScript 3|as3
aspx-cs|aspx-cs
aspx-vb|aspx-vb
Asymptote|asy
Makefile|basemake
Bash|bash
Batchfile|bat
BBCode|bbcode
Befunge|befunge
BlitzMax|blitzmax
Boo|boo
C|c
c-objdump|c-objdump
Coldfusion HTML|cfm
cfstatement|cfs
Cheetah|cheetah
Clojure|clojure
CMake|cmake
CoffeeScript|coffee-script
Common Lisp|common-lisp
Bash Session|console
Debian Control file|control
C++|cpp
cpp-objdump|cpp-objdump
C#|csharp
CSS|css
CSS+Django/Jinja|css+django
CSS+Ruby|css+erb
CSS+Genshi Text|css+genshitext
CSS+Mako|css+mako
CSS+Myghty|css+myghty
CSS+PHP|css+php
CSS+Smarty|css+smarty
Cython|cython
D|d
d-objdump|d-objdump
Delphi|delphi
Diff|diff
Django/Jinja|django
Darcs Patch|dpatch
Duel|duel
Dylan|dylan
ERB|erb
Erlang erl session|erl
Erlang|erlang
Evoque|evoque
Factor|factor
Felix|felix
Fortran|fortran
GAS|gas
Genshi|genshi
Genshi Text|genshitext
GLSL|glsl
Gnuplot|gnuplot
Go|go
GoodData-CL|gooddata-cl
Groff|groff
Haml|haml
Haskell|haskell
HTML|html
HTML+Cheetah|html+cheetah
HTML+Django/Jinja|html+django
HTML+Evoque|html+evoque
HTML+Genshi|html+genshi
HTML+Mako|html+mako
HTML+Myghty|html+myghty
HTML+PHP|html+php
HTML+Smarty|html+smarty
HTML+Velocity|html+velocity
haXe|hx
Hybris|hybris
INI|ini
Io|io
Ioke|ioke
IRC logs|irc
Jade|jade
Java|java
JavaScript|js
JavaScript+Cheetah|js+cheetah
JavaScript+Django/Jinja|js+django
JavaScript+Ruby|js+erb
JavaScript+Genshi Text|js+genshitext
JavaScript+Mako|js+mako
JavaScript+Myghty|js+myghty
JavaScript+PHP|js+php
JavaScript+Smarty|js+smarty
Java Server Page|jsp
Literate Haskell|lhs
Lighttpd configuration file|lighty
LLVM|llvm
Logtalk|logtalk
Lua|lua
Makefile|make
Mako|mako
MAQL|maql
Mason|mason
Matlab|matlab
Matlab session|matlabsession
MiniD|minid
Modelica|modelica
Modula-2|modula2
MOOCode|moocode
MuPAD|mupad
MXML|mxml
Myghty|myghty
MySQL|mysql
NASM|nasm
Newspeak|newspeak
Nginx configuration file|nginx
NumPy|numpy
objdump|objdump
Objective-C|objective-c
Objective-J|objective-j
OCaml|ocaml
Ooc|ooc
Perl|perl
PHP|php
PostScript|postscript
Gettext Catalog|pot
POVRay|pov
Prolog|prolog
Properties|properties
Protocol Buffer|protobuf
Python 3.0 Traceback|py3tb
Python console session|pycon
Python Traceback|pytb
Python|python
Python 3|python3
Ragel|ragel
Ragel in C Host|ragel-c
Ragel in CPP Host|ragel-cpp
Ragel in D Host|ragel-d
Embedded Ragel|ragel-em
Ragel in Java Host|ragel-java
Ragel in Objective C Host|ragel-objc
Ragel in Ruby Host|ragel-ruby
Raw token data|raw
Ruby|rb
Ruby irb session|rbcon
RConsole|rconsole
REBOL|rebol
Redcode|redcode
RHTML|rhtml
reStructuredText|rst
Sass|sass
Scala|scala
Scaml|scaml
Scheme|scheme
SCSS|scss
Smalltalk|smalltalk
Smarty|smarty
Debian Sourcelist|sourceslist
S|splus
SQL|sql
sqlite3con|sqlite3
SquidConf|squidconf
Scalate Server Page|ssp
Tcl|tcl
Tcsh|tcsh
TeX|tex
Text only|text
MoinMoin/Trac Wiki markup|trac-wiki
verilog|v
Vala|vala
VB.net|vb.net
Velocity|velocity
VimL|vim
XML|xml
XML+Cheetah|xml+cheetah
XML+Django/Jinja|xml+django
XML+Ruby|xml+erb
XML+Evoque|xml+evoque
XML+Mako|xml+mako
XML+Myghty|xml+myghty
XML+PHP|xml+php
XML+Smarty|xml+smarty
XML+Velocity|xml+velocity
XQuery|xquery
XSLT|xslt
YAML|yaml
修订版本 | 更新时间 | 更新说明 |
---|---|---|
4 | 2019-12-27 00:43 | ubuntu paste 网站更新了 , 同步一下URL变化 |
3 | 2019-05-28 01:18 | 支持修改作者 |
2 | 2019-05-27 17:15 | 代码URL编码 |