The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
JavaScript example:
The Markdown prettifier also prettifies the code blocks:
The ‘shiny’ addins are the ones you can see on the above GIFs. The
other ones are not interactive. The ‘Prettify C/C++/Java’ addin
requires clang-format
(it is possible to reindent
C/C++/Java (and more) with the ‘Indent (shiny)’ addin).
phantomjs
(the package provides a function
to install this software).latexindent
, which is included in MikTeX
and TeX Live distributions.Moreover, this version exports the functions used to prettify/reindent. For example:
<- c(
code "function f(x){",
"return x+1",
"}"
)cat(prettify_V8(code, "javascript"))
gives
function f(x) {
return x + 1;
}
The ‘prettifyAddins’ package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC LICENSE version 3).
It includes other open source software components:
Full copies of the license agreements used by these components are included in the file LICENSE.note.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.