Daglig Shaarli

Alle links fra en dag på en enkelt side.

February 15, 2022

Code Coleration - Plugin Shaarli

Med Code Coloration - Plugin i Shaarli kan kodeeksempler syntaks farvekodes - som man kender det fra forskellige IDE'er.
Der er mange understøttede sprog - men f.eks. vbs eller vba er ikke med som standard.

Det er dog forholdsvis enkelt at udvide ved tilpasning af PrismJS

Man kan 'bygge sin egen samling af understøttede script-sprog på Prism webstedet.

For at få det til at virke, skal sproget specificeres:
F.eks. sådan for PHP:

   ```php
         /**
         * Get the list of available languages for Shaarli.
         * @return array List of available languages, with their label.
         */
        public static function getAvailableLanguages()
        {
            return [
                'auto' => t('Automatic'),
                'en' => t('English'),
                'fr' => t('French'),
                'de' => t('German'),
                'da' => t('Danish'),
            ];
        } 
'   ```

Som med farvekodning bliver til:

         /**
         * Get the list of available languages for Shaarli.
         * @return array List of available languages, with their label.
         */
        public static function getAvailableLanguages()
        {
            return [
                'auto' => t('Automatic'),
                'en' => t('English'),
                'fr' => t('French'),
                'de' => t('German'),
                'da' => t('Danish'),
            ];
        } 
Note: Flere samlinger...

Jeg har flere samlinger af Shaarli

Se mere her

Shaarli - The personal, minimalist, super-fast, database free, bookmarking service

Welcome to Shaarli!

Shaarli allows you to bookmark your favorite pages, and share them with others or store them privately.
You can add a description to your bookmarks, such as this one, and tag them.

Create a new shaare by clicking the +Shaare button, or using any of the recommended tools (browser extension, mobile app, bookmarklet, REST API, etc.).

You can easily retrieve your links, even with thousands of them, using the internal search engine, or search through tags (e.g. this Shaare is tagged with shaarli and help).
Hashtags such as #shaarli #help are also supported.
You can also filter the available RSS feed and picture wall by tag or plaintext search.

We hope that you will enjoy using Shaarli, maintained with ❤️ by the community!
Feel free to open an issue if you have a suggestion or encounter an issue.