mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	docs: improve demo note (#7407)
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				Checks / main (push) Waiting to run
				
			
		
			
				
	
				CodeQL Advanced / Analyze (actions) (push) Waiting to run
				
			
		
			
				
	
				CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
				
			
		
			
				
	
				Deploy MkDocs Documentation / Build and Deploy MkDocs (push) Waiting to run
				
			
		
			
				
	
				Dev / Test development (push) Waiting to run
				
			
		
			
				
	
				Dev / Build Docker image (push) Blocked by required conditions
				
			
		
			
				
	
				Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
				
			
		
			
				
	
				Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
				
			
		
			
				
	
				/ Check Docker build (Dockerfile) (push) Waiting to run
				
			
		
			
				
	
				/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
				
			
		
			
				
	
				/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
				
			
		
			
				
	
				/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
				
			
		
			
				
	
				/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
				
			
		
			
				
	
				/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
				
			
		
			
				
	
				/ Merge manifest lists (push) Blocked by required conditions
				
			
		
			
				
	
				playwright / main (push) Waiting to run
				
			
		
			
				
	
				Deploy website / Build & deploy website (push) Waiting to run
				
			
		
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	Checks / main (push) Waiting to run
				
			CodeQL Advanced / Analyze (actions) (push) Waiting to run
				
			CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
				
			Deploy MkDocs Documentation / Build and Deploy MkDocs (push) Waiting to run
				
			Dev / Test development (push) Waiting to run
				
			Dev / Build Docker image (push) Blocked by required conditions
				
			Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
				
			Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
				
			/ Check Docker build (Dockerfile) (push) Waiting to run
				
			/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
				
			/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
				
			/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
				
			/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
				
			/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
				
			/ Merge manifest lists (push) Blocked by required conditions
				
			playwright / main (push) Waiting to run
				
			Deploy website / Build & deploy website (push) Waiting to run
				
			This commit is contained in:
		
						commit
						fc57314905
					
				
							
								
								
									
										19
									
								
								apps/edit-docs/demo/!!!meta.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								apps/edit-docs/demo/!!!meta.json
									
									
									
									
										vendored
									
									
								
							| @ -29,7 +29,7 @@ | |||||||
| 					"title": "Journal", | 					"title": "Journal", | ||||||
| 					"notePosition": 10, | 					"notePosition": 10, | ||||||
| 					"prefix": null, | 					"prefix": null, | ||||||
| 					"isExpanded": true, | 					"isExpanded": false, | ||||||
| 					"type": "book", | 					"type": "book", | ||||||
| 					"mime": "", | 					"mime": "", | ||||||
| 					"attributes": [ | 					"attributes": [ | ||||||
| @ -89,38 +89,45 @@ | |||||||
| 						{ | 						{ | ||||||
| 							"type": "relation", | 							"type": "relation", | ||||||
| 							"name": "internalLink", | 							"name": "internalLink", | ||||||
| 							"value": "Th0SHTjziC8R", | 							"value": "xY1FldcqIlaS", | ||||||
| 							"isInheritable": false, | 							"isInheritable": false, | ||||||
| 							"position": 10 | 							"position": 10 | ||||||
| 						}, | 						}, | ||||||
| 						{ | 						{ | ||||||
| 							"type": "relation", | 							"type": "relation", | ||||||
| 							"name": "internalLink", | 							"name": "internalLink", | ||||||
| 							"value": "1afuYh5pfoEP", | 							"value": "Th0SHTjziC8R", | ||||||
| 							"isInheritable": false, | 							"isInheritable": false, | ||||||
| 							"position": 20 | 							"position": 20 | ||||||
| 						}, | 						}, | ||||||
| 						{ | 						{ | ||||||
| 							"type": "relation", | 							"type": "relation", | ||||||
| 							"name": "internalLink", | 							"name": "internalLink", | ||||||
| 							"value": "FtCt1LKirRGs", | 							"value": "1afuYh5pfoEP", | ||||||
| 							"isInheritable": false, | 							"isInheritable": false, | ||||||
| 							"position": 30 | 							"position": 30 | ||||||
| 						}, | 						}, | ||||||
| 						{ | 						{ | ||||||
| 							"type": "relation", | 							"type": "relation", | ||||||
| 							"name": "internalLink", | 							"name": "internalLink", | ||||||
| 							"value": "uppxiNYbjvGw", | 							"value": "FtCt1LKirRGs", | ||||||
| 							"isInheritable": false, | 							"isInheritable": false, | ||||||
| 							"position": 40 | 							"position": 40 | ||||||
| 						}, | 						}, | ||||||
| 						{ | 						{ | ||||||
| 							"type": "relation", | 							"type": "relation", | ||||||
| 							"name": "internalLink", | 							"name": "internalLink", | ||||||
| 							"value": "Q3ve69mXIaMY", | 							"value": "uppxiNYbjvGw", | ||||||
| 							"isInheritable": false, | 							"isInheritable": false, | ||||||
| 							"position": 50 | 							"position": 50 | ||||||
| 						}, | 						}, | ||||||
|  | 						{ | ||||||
|  | 							"type": "relation", | ||||||
|  | 							"name": "internalLink", | ||||||
|  | 							"value": "Q3ve69mXIaMY", | ||||||
|  | 							"isInheritable": false, | ||||||
|  | 							"position": 60 | ||||||
|  | 						}, | ||||||
| 						{ | 						{ | ||||||
| 							"type": "label", | 							"type": "label", | ||||||
| 							"name": "iconClass", | 							"name": "iconClass", | ||||||
|  | |||||||
							
								
								
									
										53
									
								
								apps/edit-docs/demo/root/Trilium Demo.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										53
									
								
								apps/edit-docs/demo/root/Trilium Demo.html
									
									
									
									
										vendored
									
									
								
							| @ -18,55 +18,66 @@ | |||||||
|           height="150"> |           height="150"> | ||||||
|         </figure> |         </figure> | ||||||
|         <p><strong>Welcome to Trilium Notes!</strong> |         <p><strong>Welcome to Trilium Notes!</strong> | ||||||
|  | 
 | ||||||
|         </p> |         </p> | ||||||
|         <p>This is initial "demo" document provided by TriliumNext by default to |         <p>This is a "demo" document packaged with Trilium to showcase some of its | ||||||
|           showcase some of its features and also give you some ideas how you might |           features and also give you some ideas on how you might structure your notes. | ||||||
|           structure your notes. You can play with it, modify note content and tree |           You can play with it, and modify the note content and tree structure as | ||||||
|           structure as you wish.</p> |           you wish.</p> | ||||||
|         <p>If you need any help, visit TriliumNext website: <a href="https://github.com/TriliumNext">https://github.com/TriliumNext</a> |         <p>If you need any help, visit <a href="https://triliumnotes.org">triliumnotes.org</a> or | ||||||
|  |           our <a href="https://github.com/TriliumNext">GitHub repository</a> | ||||||
|  | 
 | ||||||
|         </p> |         </p> | ||||||
|          <h3>Cleanup</h3> |          <h2>Cleanup</h2> | ||||||
|  | 
 | ||||||
|         <p>Once you're finished with experimenting and want to cleanup these pages, |         <p>Once you're finished with experimenting and want to cleanup these pages, | ||||||
|           you can simply delete them all.</p> |           you can simply delete them all.</p> | ||||||
|          <h3>Formatting</h3> |          <h2>Formatting</h2> | ||||||
|         <p>TriliumNext supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>. | 
 | ||||||
|           Of course you can add links like this one pointing to <a href="http://www.google.com">google.com</a> |         <p>Trilium supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>. | ||||||
|         </p> |           You can add links pointing to <a href="https://triliumnotes.org/">external pages</a> or  | ||||||
|         <p>Lists</p> |           <a | ||||||
|  |           class="reference-link" href="Trilium%20Demo/Formatting%20examples">Formatting examples</a>.</p> | ||||||
|  |          <h3>Lists</h3> | ||||||
|  | 
 | ||||||
|         <p><strong>Ordered:</strong> |         <p><strong>Ordered:</strong> | ||||||
|  | 
 | ||||||
|         </p> |         </p> | ||||||
|         <ol> |         <ol> | ||||||
|           <li>First Item</li> |           <li data-list-item-id="e877cc655d0239b8bb0f38696ad5d8abb">First Item</li> | ||||||
|           <li>Second item |           <li data-list-item-id="e375e76d4e40e41d3b2d81c82c5ea09cd">Second item | ||||||
|             <ol> |             <ol> | ||||||
|               <li>First sub-item |               <li data-list-item-id="e0b2bd1e3bc1e3c5d8abec0fbc16aca16">First sub-item | ||||||
|                 <ol> |                 <ol> | ||||||
|                   <li>sub-sub-item</li> |                   <li data-list-item-id="ecaa8faedd3102f712d126f4119bca7df">sub-sub-item</li> | ||||||
|                 </ol> |                 </ol> | ||||||
|               </li> |               </li> | ||||||
|             </ol> |             </ol> | ||||||
|           </li> |           </li> | ||||||
|         </ol> |         </ol> | ||||||
|         <p><strong>Unordered:</strong> |         <p><strong>Unordered:</strong> | ||||||
|  | 
 | ||||||
|         </p> |         </p> | ||||||
|         <ul> |         <ul> | ||||||
|           <li>Item</li> |           <li data-list-item-id="e68bf4b518a16671c314a72073c3d900a">Item</li> | ||||||
|           <li>Another item |           <li data-list-item-id="eff02ac92025971883f324fbee5ec8233">Another item | ||||||
|             <ul> |             <ul> | ||||||
|               <li>Sub-item</li> |               <li data-list-item-id="e413637ee8e0f3d429e06ddd683df0ea6">Sub-item</li> | ||||||
|             </ul> |             </ul> | ||||||
|           </li> |           </li> | ||||||
|         </ul> |         </ul> | ||||||
|         <p>Block quotes</p> |          <h3>Block quotes</h3> | ||||||
|  | 
 | ||||||
|         <blockquote> |         <blockquote> | ||||||
|           <p>Whereof one cannot speak, thereof one must be silent”</p> |           <p>Whereof one cannot speak, thereof one must be silent”</p> | ||||||
|           <p>– Ludwig Wittgenstein</p> |           <p>– Ludwig Wittgenstein</p> | ||||||
|         </blockquote> |         </blockquote> | ||||||
|         <p>Checkout also other examples like <a href="Trilium%20Demo/Formatting%20examples/School%20schedule.html">tables</a>, |         <hr> | ||||||
|  |         <p>See also other examples like <a href="Trilium%20Demo/Formatting%20examples/School%20schedule.html">tables</a>, | ||||||
|           <a |           <a | ||||||
|           href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists,</a> <a href="Trilium%20Demo/Formatting%20examples/Highlighting.html">highlighting</a>, |           href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists,</a> <a href="Trilium%20Demo/Formatting%20examples/Highlighting.html">highlighting</a>, | ||||||
|             <a |             <a | ||||||
|             href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a>and <a href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p> |             href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a>and <a href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </body> |   </body> | ||||||
|  | |||||||
| @ -21,36 +21,8 @@ | |||||||
|           language, should that fail it is possible to manually adjust it. The color |           language, should that fail it is possible to manually adjust it. The color | ||||||
|           scheme for the syntax highlighting is adjustable in settings. </p><pre><code class="language-application-javascript-env-frontend">function helloWorld() { |           scheme for the syntax highlighting is adjustable in settings. </p><pre><code class="language-application-javascript-env-frontend">function helloWorld() { | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 	alert("Hello world"); | 	alert("Hello world"); | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| }</code></pre> | }</code></pre> | ||||||
|         <p>For larger pieces of code it is better to use a code note, which uses |         <p>For larger pieces of code it is better to use a code note, which uses | ||||||
|           a fully-fledged code editor (CodeMirror). For an example of a code note, |           a fully-fledged code editor (CodeMirror). For an example of a code note, | ||||||
|  | |||||||
| @ -16,148 +16,18 @@ | |||||||
|         <p>Documentation: <a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html</a> |         <p>Documentation: <a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html</a> | ||||||
|         </p><pre><code class="language-text-x-sh">#!/bin/bash |         </p><pre><code class="language-text-x-sh">#!/bin/bash | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # This script opens 4 terminal windows. | # This script opens 4 terminal windows. | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| i="0" | i="0" | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| while [ $i -lt 4 ] | while [ $i -lt 4 ] | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| do | do | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|     xterm & |     xterm & | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|     i=$[$i+1] |     i=$[$i+1] | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| done</code></pre> | done</code></pre> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran