flag_de


On this page various examples of extensions for MarkMyWords are presented, which can serve as inspiration for your own extensions.

Note: The complete documentation for developing extensions for MarkMyWords can be found in the help of MarkNyWords.

Javascript Extensions

MarkMyWords 2.9.0 or newer is required for the extensions developed in Javascript.

Javascript example with external function (requires MarkMyWords 2.10.0 or newer)

The Calculate example uses an external function to process the entered text. This example calculates mathematical content within a text. A small example is included with the extension with further instructions for use.

Download Calculate Extension

All Javascript examples in one package

The following download offers all Javascript examples listed on this page in one zip package: Alle Javascript-Example-Extensions

Linker example

The linker example comes with a JSON file containing a linking list that can be extended manually. When the extension is activated, you are first asked for the linking file. Once selected, the text selected in the main editor is searched for specific keywords and the hits found are linked. For example, the word "Google" is searched for and replaced with "[Google](https://www.google.com "Visit Google")".

Download Linker Extension

FolderLister example

This extension can be used to select a directory whose files are added to the current document as a list.

Download FolderLister Extension

Additional examples




Legacy Extensions

The following extensions in the scripting languages Perl, PHP, Python and Ruby are to be considered obsolete. As of macOS 12, the installation of additional software is necessary in order to use these extensions. Further information on this can be found in the MarkMyWords help.
Extensions with Python only work on older systems.
Due to these circumstances, the use of Javascript is therefore recommended for the development of extensions.

16.12.2023 - PHP examples updated to ensure compatibility with PHP 8.2

All examples in one package

The following download offers all the examples listed on this page in one zip package: All sample extensions

Core examples

These examples, for the languages ​​supported by MarkMyWords, can be used as a starting point for developing your own extensions.



Linker example

The linker example comes with a JSON file containing a linking list that can be extended manually. When the extension is activated, you are first asked for the linking file. Once selected, the text selected in the main editor is searched for specific keywords and the hits found are linked. For example, the word "Google" is searched for and replaced with "[Google](https://www.google.com "Visit Google")".

Download Linker Extension

FolderLister example

This extension can be used to select a directory whose files are added to the current document as a list..

Download FolderLister Extension

LittleBlog example

The LittleBlog Extension shows the cooperation between MarkMyWords and a server. The extension sends the current text to a script on a remote server and saves it. As a response, MarkMyWords then receives the notification that the data has been saved.
Note: The download contains the corresponding script that enables communications between MarkMyWords and a remote server.
Note: In the extension, the corresponding URL for calling the script must be adapted to your own circumstances. This can easily be done in the Extension Manager of MarkMyWords.
Note: This system (extension + server script) is only for demonstration purposes and should not be used for regular use due to the lack of security measures.

Download LittleBlog Extension

More examples