LIST WHERE contains(file.folder, this.file.folder) AND file.name != this.file.name
// find dates based on format [[YYYY-MM-DD]]
const findDated = (task) => {
if( !task.completed ) {
task.link = " " + "[[" + task.path + "|*]]";
task.date="";
const found = task.text.match(/\[\[([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))\]\]/);
if(found) task.date = moment(found[1]);
return true;
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* FLEETING NOTES */ | |
span.page-reference[data-ref="fleeting note"] | |
{ background: var(--ls-primary-background-color); | |
background-size: 100%; | |
color: var(--ls-primary-text-color); | |
padding: 2px 5px 2px 5px; | |
font-size: 13px; | |
line-height: 1em; | |
font-weight: 500; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# views.py - django app called ajx | |
from django.shortcuts import render, get_object_or_404, redirect, HttpResponse, render_to_response, HttpResponseRedirect | |
from django.core.urlresolvers import reverse | |
from django.contrib.auth import authenticate, login | |
import json | |
def mygetview(request): | |
if request.method == 'GET': |