DokuWiki Prosemirror Plugin

A modern approach on DokuWiki WYSIWYG

User Tools

Site Tools


en:playground:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:playground:start [2021/11/26 09:00] – [dfgdgfdfgMein Hirn hat ein leck.] 176.95.223.81en:playground:start [2026/01/15 11:26] (current) – [Inline Plugins] 195.49.83.2
Line 1: Line 1:
-Hui... mein Beispiel+====== Testing the Prosemirror plugin ======
  
-Test für [[en:playground:start2|internen Link]]+~~INFO:helperplugins~~
  
-Test für [[https://en.wikipedia.org/wiki/Wikipedia:External_links|externen Link]]+ich möchte einen **Test** eingebenDer **__Test __**läuft gerade
  
-----+  * Wer auch immer ich bin ich bi**n der du nicht bist8-
 + 
 +**Ich bin ein Test**
  
 <code -> <code ->
-Spielplatz+HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize] 
 +"StartupDelayInMSec"=dword:00000000 
 +"WaitForIdleState"=dword:00000000
 </code> </code>
  
-Mal sehen, was das Ding so kann. qwe 
  
-| Head |   | +===== Burgers! =====
-|   | Content |+
  
-**Fetter Text __Unterfettet__**+| 1 | CMD | 
 +| 2 | Powershell |
  
-<code - test.py> +  * Pickles 
-Hier haben wir Quellcode +  * Onions 
-</code>+  * Cheese 
 +  * Mustard 
 +  * Lettuce 
 +  * Tomato Sauce
  
-===== Überschrift 2 =====+Fish and Chips
  
-^   ^ A ^ B ^ C ^ D ^   ^ 
-| 1 |        ddd || 
-| 2 |   | ddddd  |  dd ^  ddddd | dd | 
-| 3 |         | dd | 
  
-:-\+==== Appropriate types of burger ====
  
->Zitat ohne Worte fdfdfgdfgdfgdfgdfgd+Chicken and beef burgers are both good. Make sure they're seasoned nicely! Nobody wants a bland burger/
  
-:-D+== Side note about Chicken Burgers ==
  
-==== dfgdgfdfgMein Hirn hat ein leck====+These should be made from chicken breast meat wherever possibleThighs are icky. Nobody sane would use a drumstick or a wing.'
  
-Hier dfgd+===== Demo title =====
  
-  * Teste +>Here is paragraph
-  *+
  
-Heute\\ df+(( 
 +And a warning. 
 +))
  
-{{:wiki:dokuwiki-128.png}}+===== Preparing a burger =====
  
-  - sadasdasd +  - Slice a a bread roll then wrap in aluminium foil and place in an oven for approximately 15-20 minutes at 150 degrees to warm it without it getting all hard and crunchy. 
-  - dasdsadas +  - Turn on the grill. 
-  - dsa +  - Take the burger and place on the grill for about three to four minutes. 
-  - dsad +  - Flip the burger 
-  - errwe +  - Grill for another two to three minutes or to your liking. Note chicken burgers should be 75 degrees Celsius when tested with a meat thermometer at their thickest point. 
-  - asdf +  - Remove the bread roll from the oven. 
-  - rw +  - Place the mustard on the bottom of the bun and the tomato sauce on the top of the bun. 
-  - rwr +  - Put the lettuce, onions, and a slice of cheese on the bottom of the bun. 
-  - wer +  - Put the burger on top of the cheese. 
-  - wrwrwrwrwer +  - Put a slice of cheese on top of the burger. 
-  - dfdfdfdf+  - Put pickles on top of the slice of cheese. 
 +  - Put the top of the bun on the burger. 
 +  - Enjoy!
  
-<sub>test</sub>+{{:wiki:dokuwiki.svg?100}}
  
-  * dies ist ein weiterer test+I can't put a picture of a burger here so this one will do.
  
-<code c> +Interestingly copy and pasting an image doesn't work. Something to note.
-#include <stdio.h>+
  
-int main(int ac, char** av) { +<code bash> 
-    printf("Hello World\n")+PROMPT="hello world" 
-    return 0;+echo $PROMPT 
 +</code> 
 + 
 +<code php> 
 +$a = 123
 +while ($a < 234) { 
 +   $a += 1;
 } }
 </code> </code>
  
 +  * ''Monospaced Text$$ Q = CV \tag{1} $$''
  
-===== Überschrift =====+|   ^ Header A ^ Header B ^ Header C ^ Header D |   | 
 +^ 1  | **Left**  | Long long text which wraps mutliple times for good. Just checking how it worksjerh giupheröh aökjfhakhf akjdhfoiewuf öj aöfj khkaf kösdhf öahf öakjhf höadfh ökasdhfk jöahsf öh öfadhfö  || Foo  ^ 1  ^ 
 +|  Center  |  value  || ::: ^ 2 ^ 
 +^ 3 |  Right |     | ::: ^ 3 ^
  
-Hier wieder ein bisschen Text(( +so, latex format not working.
-Hier kann ich Text zur Fußnote eingeben. +
-))Eine kleine Fußnote+
  
-<code java test.txt+Why should it work at all. 
-testssadasdas + 
-hallo +===== Installation ===== 
-asd + 
-ad +Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually. 
-asd+ 
 +<code bash
 +# Comment 
 +for FILE in $FILES; do 
 +    echo $FILE 
 +done
 </code> </code>
  
-===== Beispiel für einen RSS Feed: =====+^ 背景属性 ^ \\ 等级 ^ \\ 血之回响 ^ \\ 活力 ^ \\ 耐力 ^ \\ 力量 ^ \\ 技术 ^ \\ 血质 ^ \\ 秘法 ^ \\ 属性合计 ^ 
 +| \\ 胆小鬼 | \\ 10 | \\ 300 | \\ 11 | \\ 10 | \\ 12 | \\ 10 | \\ 9 | \\ 8 | \\ 60 | 
 +| \\ 唯一生还者 | \\ 10 | \\ 420 | \\ 14 | \\ 11 | \\ 11 | \\ 10 | \\ 7 | \\ 7 | \\ 60 | 
 +| \\ 悲惨的童年 | \\ 10 | \\ 360 | \\ 9 | \\ 14 | \\ 9 | \\ 13 | \\ 6 | \\ 9 | \\ 60 | 
 +| \\ 残暴的过往 | \\ 10 | \\ 180 | \\ 12 | \\ 11 | \\ 15 | \\ | \\ 6 | \\ 7 | \\ 60 | 
 +| \\ 专家 | \\ 10 | \\ 240 | \\ 9 | \\ 12 | \\ 9 | \\ 15 | \\ 7 | \\ 8 | \\ 60 | 
 +| \\ 战场老兵 | \\ 10 | \\ 320 | \\ 10 | \\ 10 | \\ 14 | \\ 13 | \\ 7 | \\ 6 | \\ 60 | 
 +| \\ 贵族后裔 | \\ 10 | \\ 540 | \\ 7 | \\ 8 | \\ 9 | \\ 13 | \\ 14 | \\ 9 | \\ 60 | 
 +| \\ 残酷命运 | \\ 10 | \\ 500 | \\ 10 | \\ 12 | \\ 10 | \\ 9 | \\ 5 | \\ 14 | \\ 60 | 
 +| \\ 无用废材 | \\ 4 | \\ 10 | \\ 10 | \\ 9 | \\ 10 | \\ 9 | \\ 7 | \\ 9 | \\ 54 |
  
-{{rss>https://wysiwyg.wiki.cosmocode.de/feed.php 10 date 10m}}+$$
  
-===== SA vedem oarece =====+\begin{aligned}
  
-//''Text normal frumos''//+  C \propto & \space A \\ C \propto & \space \frac{1}{d}
  
 +  \end{aligned}
 +
 +$$
 +
 +Ceci est un test !
 +
 +<code python test.py>
 +import os
 +os.getcwd()
 +print("hello world!")
 +</code>
 +
 +====== Hello ! ======
 +
 +| Hi |   |
 +| cześć  |   |
 +
 +<code xojonnn fff 123>
 +Here we go again
 +</code>
 +
 +| dfgdfg  |   |
 +| abcvv  | gdfgdf  |
 +
 +Das ist ein Test. **Schauen wir mal wie fett geht. **
 +
 +Sieht aus wie der alte Editor → Ah, man muss erst auf "visual Editor" umschalten - Diese Bezeichnung erinnert an Mediawiki :-).
 +
 +Ok, wie bekomme ich eine Grafik eingebunden? ← Indem man oben das Icon mit dem Bilderrahmen klickt.
 +
 +
 +===== heading 2 =====
 +
 +[[Ficiher@iap.fr|Ficiher]]
 +
 +[[link|Edit section]]
 +
 +| {{:wiki:dokuwiki-128.png?100&direct}}{{https://wiki.cocube.fun/en/activities/cocube_basic_00_start-en/image_upgrade_cocube.png}} |   |
 |     | |     |
 +
 |     | |     |
 +|     |
 +
 +# Heading
 +
 +**Testing this editor**
 +
 +<code python file.py>
 +Here is my code
 +
 +Testing Test class py
 +</code>
 +
 +|         |
 +| Test Table | Test | Test |   |
 +| 1.2.3.8-) |     | sdf |
 +|     | sdf |   |
 +
 +==== heading 3 ====
 +
 +Looks great - at first glance ... 🤔
 +
 +===== Deleted content, now visual editor appears to function =====
 +
 +**One **two three four
 +
 +  * Ctrl-I / Ctrl-B would be nice
 +
 +Table support is handy
 +
 +| qds  | qsdq  |   | sdqs |
 +|         |
 +|         |
 +
 +Testing ...
 +
 +==== Headline ====
 +
 + Achtergrond
 +
 +//Locales// worden gebruikt door glibc en andere locale-aware programma's om text, datum, valuata, soorteervolgorde, etc. aan te passen aan locale gebruiken.
 +
 +Het behelst een systeem met zo'n drie onderdelen:
 +
 +  * //Local Names:// Specificaties van talen/landen
 +  * //System variables:// Zoals //taal//, //valuta//, etc.
 +  * //Configuraties:// Dit is waar local names aan system variables toegewezen worden. Dat kan ik verschillende bestanden en op verschillende manieren.
 +
 +==== Locale Names ====
 +
 +//Locales// of //local names// zijn in de vorm [1]
 +
 +<code ->
 +language[_territory].[codeset][@modifier]
 +</code>
 +
 +waarbij geldt:
 +
 +  * ''language'' - ISO 639 language code
 +  * ''territory'' - ISO 3166 country code
 +  * ''codeset'' - ISO-8859-1- of UTF-8-identifier. In de praktijk gebruik ik //altijd// een UTF-8-identifier
 +  * ''modifer'' - Geen idee. Misschien zijn de aanduidingen ''@euro'' op sommige regels in ''/etc/locale.gen'' hier een voorbeeld van.
 +
 +Alle beschikbare locales kun je opvragen mbv. ''less /etc/locale.gen''. Dit zijn de NL-gerelateerde locales:
 +
 +<code ->
 +nl_AW UTF-8
 +nl_BE ISO-8859-1
 +nl_BE.UTF-8 UTF-8
 +nl_BE@euro ISO-8859-15
 +nl_NL ISO-8859-1
 +nl_NL.UTF-8 UTF-8
 +nl_NL@euro ISO-8859-15
 +</code>
 +
 +Merk op dat er niet zoiets bestaat als //en_NL// (Engelstalig + Nederland). Ik heb me er bij neergelegd dat ik qua taal //en_US UTF-8// gebruik.
 +
 +Dit zijn de instellen op één van m'n computers. Dit was voordat ik de //locale// had geconfigureerd. Dit overzicht krijg je met het commando ''locale'':
 +
 +<code ->
 +LANG=C
 +LANGUAGE=
 +LC_CTYPE="C"
 +LC_NUMERIC=en_US.UTF-8
 +LC_TIME=en_US.UTF-8
 +LC_COLLATE="C"
 +LC_MONETARY=en_US.UTF-8
 +LC_MESSAGES="C"
 +LC_PAPER=en_US.UTF-8
 +LC_NAME=en_US.UTF-8
 +LC_ADDRESS=en_US.UTF-8
 +LC_TELEPHONE=en_US.UTF-8
 +LC_MEASUREMENT=en_US.UTF-8
 +LC_IDENTIFICATION=en_US.UTF-8
 +LC_ALL=
 +</code>
 +
 +1.. 2.. 3.. Lorem Ipsum** lorem ipsum**
 +
 +{{https://upload.wikimedia.org/wikipedia/commons/7/78/Image.jpg?500x500|Datei:Image.jpg}}
 +
 +**hallo** wie geht es Dir?
 +
 +Mr geht es gut 😀
 +
 +::stop::
 +
 +| ((
 +
 +)) |     |
 +|       |
 +|       |
 +
 +===== Trythis 5000 =====
 +
 +There is nothing more satisfying than to find something that does what you want. Or does it? :?: See ((
 +a Footnote for Test
 +))
 +
 +==== Plugin Block ====
 +
 +foo
 +
 +A plugged in block Block Block Block end
 +
 +and it goes on after hitting Ctrl-Enter. Nice.
 +
 +↑ That does not work as expected. What do these Plugin blocks do? A little research turns up, they are called with special strings to insert a Block of intormation. But where to get these stings? Is there a comprehensive list? FIXME What follows is %%~~INFO:syntaxplugins~~%%
 +
 +~~INFO:syntaxplugins~~
 +
 +~~INFO:actionplugins~~
 +
 +~~INFO:rendererplugins~~
 +
 +~~INFO:helpermethods~~
 +
 +
 +==== Inline Plugins ====
 +
 +FIXMEInline thing
 +
 +FIXME  %%FIXME%%
 +
 +**__Ich bin ein Test wie geht es dir__**
  
-| da ^ nuvbcvb ^ +:TODO: Plugin inline?
-|   ^ FIXME ^ +
-| da | nu |+
  
-\\+  * a list 
 +  * is a number 
 +  * of items 
 +    * and subitems 
 +    * thereof 
 +  * Outdented again
  
  
en/playground/start.1637913659.txt.gz · Last modified: 2021/11/26 09:00 by 176.95.223.81

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki