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 [2020/05/07 06:49] 76.236.30.17en:playground:start [2026/06/18 10:16] (current) – [Plugin Support] 62.214.147.132
Line 1: Line 1:
-==== Optimize! ====+====== This is way cooler than the built-in markdown style editor ======
  
-{{Optimize_73x76.png}}+<code php test.php> 
 +<?php
  
-{{:wiki:logo.png}}+function test() { 
 +    // Implement this function 
 +} 
 +</code>
  
-The “Optimize!” button is available in the Automatic Optimization section of the%% %%Optimize%% %%tab. This button displays the Local Optimization tool for automatic optimization of the current optical system.+<code mysql tohle.sql> 
 +select * from dodo  
 +</code>
  
-{{Optimize_2_611x232.png}}+|  |  | 
 +|  |  |
  
-**//%%Settings:%%//**+It's grrrrrrrreat! =)
  
-**Algorithm**%% %%Local Optimization uses a Damped Least-Squares or Orthogonal Descent algorithm to improve or modify a design to meet specific conditions.+  numbered list
  
-**Damped Least Squares (DLS)**%% %%uses numerically computed derivatives to determine a direction in solution space which produces a design with a lower merit function. This gradient method has been developed specifically for optical system design and is recommended for all optimization problems.+  bullet points
  
-**Orthogonal Descent (OD)**%% %%uses an orthonormalization of the variables and discrete sampling of solution space to reduce the merit function. The OD algorithm does not compute numerical derivatives of the merit function. For systems with inherently noisy merit functionssuch as non-sequential systems, OD will usually outperform DLSFor a discussion of a similar algorithm, see S. Kudaev, P. Schreiber, “Automated optimization of non-imaging optics for luminaries”, in Optical Design and Engineering II; Laurent Mazuray, Rolf Wartmann, Eds., Proc. SPIE 5962, p87-95 (2005).+>Lorem ipsum dolor sit ametconsectetur adipiscing elit\\ Proin vel dui tellus\\ Ut ac mi vitae risus //hendrerit lacinia.//
  
-**Note**%% %%that both DLS and OD are local optimization algorithms whose final results depend upon the starting pointFor global optimizationsee “Global Optimizers”.+>>Etiam a **bibendum diam**, eu fermentum libero. 
 +>Morbi elit nequecommodo sed cursus ut, suscipit sed nulla.\\ Maecenas malesuada molestie elit ut iaculis.\\ Etiam a bibendum diam, eu fermentum libero. \\ Morbi elit neque, commodo sed cursus ut, suscipit sed nulla. \\ Maecenas malesuada molestie elit ut iaculis.
  
-**# of Cores**%% %%Selects the number of cores over which to spread the optimization task. More than 1 may be selected, even on a single CPU computer, in which case the single CPU will time share the multiple simultaneous tasks. The default is the number of processors detected by the operating system.+Nam sollicitudin rhoncus neque eu congue.
  
-**Cycles**%% %%Select the number of optimization cycles. 1 Cycle Executes a single optimization cycle5 Cycles Executes 5 optimization cyclesetc. Inf. Cycles Executes optimization cycles in an infinite, continuous loop until “Stop” is pressed.+Vivamus sit amet sapien sodalesmolestie massa sedefficitur magna.
  
-**Selecting Automatic%% %%**will cause the optimizer to run until no progress is being made. Automatic mode is highly recommended. The time required to run a given optimization cycle varies enormously with the number of variablesthe complexity of the systemthe number of solves, the number of operands, and of course the computer speed. If the cycle is taking too long, or if it appears to be hung up, or if you feel the design is not progressing adequately, click on Stop to end the optimization run.+Donec felis auguemolestie in eros sedfringilla fringilla arcu.
  
-**Auto Update**%% %%If checked, OpticStudio will automatically update and redraw all open windows at the end of each optimization cycleThis allows monitoring of the optimization progress using any analysis featureNote that the fastest rate at which the windows can update is once every 5 seconds, in order to maintain responsivity of the user interface during the updates.+>Vestibulum pretium leo sodales est tincidunt hendrerit 
 +>>Donec dapibus non lectus a ultricies 
 +>Suspendisse sit amet odio mattisconsectetur nisl eget, maximus nunc. \\ Suspendisse lacus nulla, aliquet id ex in, tristique congue lectus.
  
-**Start%% %%**Starts the optimization.+Curabitur sagittis pretium quam.
  
-**Stop**%% %%Stops a running optimizationand returns control back to the dialog box.+Lorem ipsum dolor sit ametconsectetur adipiscing elit.
  
-**Save**%% %%Saves the current settings to the OpticStudio configuration file.+  this is another test for prosemirror 
 +  * 
 +  * **Edit a new page with content for testing** 
 +  * <code html4strict> 
 +<a>This looks promising</a> 
 +</code> 
 +    * can I undo? yes, I can!(( 
 +ah, and the footnote editor is nice too! 
 +))
  
-**Load**%% %%Loads the last saved settings.+<code ->
  
-**Reset**%% %%Resets all settings to default.+</code>
  
-**//%%Discussion:%%//**+Ctrl+v images
  
-The Local Optimization (or simply, “Optimization”) feature provided by OpticStudio is quite powerful, and is capable of improving lens designs given a reasonable starting point and a set of variable parameters. Variables can be curvatures,%% thicknesses%%,%% glasses%%, conics,%% parameter data%%, extra data, and any of the numeric multi-configuration data. OpticStudio uses either an actively damped least squares or an orthogonal descent algorithm. The algorithms are capable of optimizing a merit function composed of weighted target values; these target values are called “operands”. OpticStudio has several different default merit functions which can be changed easily using the Merit Function Editor. For details on this procedure see “Modifying the merit function.+{{:wiki:dokuwiki-128.png?150|TestText}}
  
-When the optimization begins, OpticStudio first updates the system merit function. If any of the operands cannot be computed, the optimization cannot begin, and an error message will be displayed. Operands cannot be computed if they require the tracing of rays which miss surfaces or which undergo%% total internal reflection (TIR) %%at an index boundary. If such an error message appears, usually the starting lens prescription is in error, or the ray targets are incorrectly defined (this will not happen with the default merit functionsbut might happen with user defined rays). OpticStudio can automatically recover if the merit function cannot be evaluated during the course of optimization; only the starting system need be adequate to compute all operands in the merit function.+what if i want to (( 
 +i can click the footnote to edit itneat 
 +))add a footnote
  
-See%% Optimization Overview %%for full discussion of building merit functions, setting variables, and using the optimization feature.+I would like to insert link to the prosemirror Plugin [[wp>here|here]]
  
-See also+| 8-) | 2 | 3 | 
 +| 4 | 5 | 6 | 
 +| 7 | 8 | 9 | 
 +| 10 | 11 | 12 |
  
-**Next:**+adsfasdfhhhh test 1234
  
-Remove All Variables\\+====== TEST ======
  
-Great editor !!+Ok, lets type some text in **bold** and //italics.  //It doesn't seem to take hotkeys like ctr-b for bold.
  
-I wish we could paste images that can be saved automatically.+Takes a bit of getting used to on the mobile. **But** it works. Using wikisyntax here gets converted on toggling.
  
-I wish we could use basic HTML tagssuch as H1, H2, etc for font sizes.+What about a drag and drop image? Nopenot happening.
  
-I wish I could but I don't want to.+{{ :wiki:dokuwiki-128.png?400&direct }}
  
-huh!+<code bash dummtüch.sh> 
 +systemctl –user daemon-reload 
 +systemctl –user enable –now jdOnFirefoxShutdown.service 
 +</code>
  
-8-O+<code C hello.c> 
 +#include <stdio.h>
  
-  - This is fine. +int main(void) { 
-  - this is nice +   printf("Hello, World!\n"); 
-  - <code -> +   return 0; 
-this is a test.+}
 </code> </code>
  
-====== Nothing to see here======+Once installed, users will see a toggle button to switch between syntax and General usage should be self-explanatory with all formatting functionality available via a toolbar. Some elements open their own dialogs for configuration.
  
-| First column  | Second column +//"Gordon doesn't need to hear all thisHe's a highly trained professionalWe've assured the Dokuwiki administrator that nothing will go wrong."//
-|     | +
-| Last row  | {{https://thumbs.dreamstime.com/z/livre-de-coloriage-pangolin-87544118.jpg?100x100|Pangolin}}  |+
  
-><code -> +This is a test sentence
-8-o +
-</code> +
->\\ \\ \\ \\ \\ \\ \\ \\ 8-o +
->>((+
  
-)) +  * Hello 
->\\  +    - qsds 
->\\  +    - qsdqsd 
->\\  +  * qsdqsds
->\\  +
->\\  +
->((+
  
-)) +>qwqsdqsd\\  <cite>toto</cite>
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->\\  +
->((+
  
-)) +Edit 
->\\  + 
->\\  +I always miss the Undo function in built-in editor. This one provides that. But hey, no ARIA support (Ctrl+K for link
->\\  + 
->\\  +==== Try it ==== 
->\\  + 
->\\  +You can try out this plugin at wysiwyg.wiki.cosmocode.de. 
->\\  + 
->((+ The popups are difficult to navigate, though. 
 + 
 +==== Plugin Support ==== 
 + 
 +=== Text === 
 + 
 +Plugins can integrate themselves into the editor, but so far very few do. The editor provides a toolbar to add arbitrary plugin syntax.((
  
 )) ))
 +
 +| Direkt in Tabelle schreiben  | Spalte 2  | **Spalt**e 3  |
 +|       |
 +|     | zweizeilig  |
 +|       |
 +
 +Below is((
 +
 +)) a list of plugins with explicit Prosemirror support:
 +
 +  * ImgPaste Plugin
 +  * Diagrams Plugin
 +  * test
 +
 +Das ist ein test:
 +
 +  * fdsfsfdfds
 +
 +<del>Strike-through Text</del>
 +
 +===== TEST =====
 +
 +  - Auflistung
 +  - mal eben so machen
 +
 +  * Liste ohne Zahl
 +  * geht auch
 +
 +
 +===== Development =====
 +
 +>hjk
 +
 +<code xml>
 +<root>1.25<root/>
 +</code>
 +
 +**How to help with Development**
 +
 +Get a developers license and do the work silly !
 +
 +  * <code german test>
 +first test  [Development] 
 +</code>
 +
 +====== Test Überschrift ======
 +
 +===== eins kleiner =====
 +
 +== noch kleiner ==
 +
 +==== oola ====
 +
 +| one | two | weitere Spalte |
 +|  | weitere Zeilt |  |
 +| three | five |  |
 +
 +
en/playground/start.1588826993.txt.gz · Last modified: 2020/05/07 06:49 by 76.236.30.17

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki