mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	markdown wiki reference on README
This commit is contained in:
		@@ -21,6 +21,7 @@ See other pictures in [screenshot tour](https://github.com/zadam/trilium/wiki/Sc
 | 
			
		||||
* [Scripting](https://github.com/zadam/trilium/wiki/Scripts) - see [Advanced showcases](https://github.com/zadam/trilium/wiki/Advanced-showcases)
 | 
			
		||||
* Scales well in both usability and performance upwards of 100 000 notes
 | 
			
		||||
* [Night theme](https://github.com/zadam/trilium/wiki/Themes)
 | 
			
		||||
* [Markdown import & export](https://github.com/zadam/trilium/wiki/Markdown)
 | 
			
		||||
 | 
			
		||||
## Builds
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "trilium",
 | 
			
		||||
  "version": "0.20.2",
 | 
			
		||||
  "version": "0.21.0",
 | 
			
		||||
  "lockfileVersion": 1,
 | 
			
		||||
  "requires": true,
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,5 @@
 | 
			
		||||
import treeService from './tree.js';
 | 
			
		||||
import infoService from './info.js';
 | 
			
		||||
import protectedSessionHolder from './protected_session_holder.js';
 | 
			
		||||
import utils from './utils.js';
 | 
			
		||||
import server from './server.js';
 | 
			
		||||
@@ -8,6 +9,8 @@ function exportSubtree(noteId, format) {
 | 
			
		||||
        "?protectedSessionId=" + encodeURIComponent(protectedSessionHolder.getProtectedSessionId());
 | 
			
		||||
 | 
			
		||||
    utils.download(url);
 | 
			
		||||
 | 
			
		||||
    infoService.showMessage("Export to file has been finished.");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
let importNoteId;
 | 
			
		||||
 
 | 
			
		||||
@@ -15,6 +15,10 @@ async function importToBranch(req) {
 | 
			
		||||
    const parentNoteId = req.params.parentNoteId;
 | 
			
		||||
    const file = req.file;
 | 
			
		||||
 | 
			
		||||
    if (file) {
 | 
			
		||||
        return [400, "No file has been uploaded"];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const parentNote = await repository.getNote(parentNoteId);
 | 
			
		||||
 | 
			
		||||
    if (!parentNote) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user