Put graphml.xml to ~/.local/share/mime/packages and yEd Graph Editor-0.desktop to ~/.local/share/applications.
Then run these commands:
update-desktop-database ~/.local/share/applications
update-mime-database ~/.local/share/mime
| function fish_and_chips(cislo) { | |
| if (cislo % 2 == 0) { | |
| if (cislo % 3 == 0) | |
| return "fish and chips" | |
| else | |
| return "fish" | |
| } else { | |
| if (cislo % 3 == 0) | |
| return "chips" |
Put graphml.xml to ~/.local/share/mime/packages and yEd Graph Editor-0.desktop to ~/.local/share/applications.
Then run these commands:
update-desktop-database ~/.local/share/applications
update-mime-database ~/.local/share/mime
| # Math | |
| <Multi_key> <A> <A> : "∀" | |
| <Multi_key> <E> <E> : "∃" | |
| <Multi_key> <exclam> <E> <E> : "∄" | |
| <Multi_key> <minus> <0> : "−" | |
| <Multi_key> <KP_Subtract> <KP_0> : "−" | |
| <Multi_key> <asterisk> <1> : "⋅" | |
| <Multi_key> <KP_Multiply> <KP_1> : "⋅" |
| # Greek | |
| <Multi_key> <asterisk> <a> : "α" | |
| <Multi_key> <asterisk> <b> : "β" | |
| <Multi_key> <asterisk> <c> : "ψ" | |
| <Multi_key> <asterisk> <d> : "δ" | |
| <Multi_key> <asterisk> <e> : "ε" | |
| <Multi_key> <asterisk> <f> : "φ" | |
| <Multi_key> <asterisk> <g> : "γ" | |
| <Multi_key> <asterisk> <h> : "η" |
This is a sample implementation of a basic extension. It uses the @types/markdown-it package from NPM which contains the documentation for markdown-it. The code here is mostly copied from the backtick rule implementation you can find in the original markdown-it repository.
Plugin example for markdown-it, extension tutorial, markdown-it extension API, TypeScript, jsDoc, documentation for extensions, specification of plugin API, how to write an extension for markdown-it.
| #include <fstream> | |
| #include <limits> | |
| #include <fcntl.h> | |
| #include <string> | |
| int main() { | |
| int f = 0; | |
| const std::string FILE("unsignedInt"); | |
| const std::string EXT(".d.ts"); |
| declare module 'filtrex' | |
| { | |
| /** | |
| * A simple, safe, JavaScript expression engine, allowing end-users to enter arbitrary expressions without p0wning you. | |
| * | |
| * @example | |
| * // Input from user (e.g. search filter) | |
| * let expression = 'transactions <= 5 and abs(profit) > 20.5'; | |
| * | |
| * // Compile expression to executable function |
| U [V] I [mA] | |
| -6,8587 -750,6055 | |
| -6,8563 -734,6088 | |
| -6,8556 -775,426 | |
| -6,8552 -712,3059 | |
| -6,853 -758,4381 | |
| -6,8505 -722,9614 | |
| -6,8501 -735,4736 | |
| -6,8485 -669,0472 | |
| -6,8482 -712,2803 |
| Attribute VB_Name = "Module1" | |
| Function Complex(a As Double, b As Double) As Any | |
| Dim svc As Object | |
| svc = createUnoService("com.sun.star.sheet.FunctionAccess") | |
| Complex = svc.callFunction("COMPLEX",Array(a,b)) | |
| End Function | |
| Function ImProduct(a As Any, b As Any) As Any | |
| Dim svc As Object |