first commit
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
{}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
[
|
||||
"obsidian-mind-map",
|
||||
"webpage-html-export"
|
||||
]
|
||||
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false,
|
||||
"webviewer": false,
|
||||
"footnotes": false,
|
||||
"bases": true
|
||||
}
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"collapse-filter": true,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [],
|
||||
"collapse-display": true,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 0.4444444444444444,
|
||||
"close": false
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"name": "Markdown"
|
||||
},
|
||||
{
|
||||
"name": "Markdown (Hugo)"
|
||||
},
|
||||
{
|
||||
"name": "Html"
|
||||
},
|
||||
{
|
||||
"name": "TextBundle"
|
||||
},
|
||||
{
|
||||
"name": "Typst"
|
||||
},
|
||||
{
|
||||
"name": "PDF"
|
||||
},
|
||||
{
|
||||
"name": "Word (.docx)"
|
||||
},
|
||||
{
|
||||
"name": "OpenOffice"
|
||||
},
|
||||
{
|
||||
"name": "RTF"
|
||||
},
|
||||
{
|
||||
"name": "Epub"
|
||||
},
|
||||
{
|
||||
"name": "Latex"
|
||||
},
|
||||
{
|
||||
"name": "Media Wiki"
|
||||
},
|
||||
{
|
||||
"name": "reStructuredText"
|
||||
},
|
||||
{
|
||||
"name": "Textile"
|
||||
},
|
||||
{
|
||||
"name": "OPML"
|
||||
},
|
||||
{
|
||||
"name": "Bibliography"
|
||||
}
|
||||
],
|
||||
"pandocPath": {
|
||||
"linux": "/home/linuxbrew/.linuxbrew/bin/pandoc"
|
||||
},
|
||||
"defaultExportDirectoryMode": "Auto",
|
||||
"openExportedFile": true,
|
||||
"env": {},
|
||||
"showExportProgressBar": true
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
-- credits to tarleb — StackExchange: https://tex.stackexchange.com/questions/392070/pandoc-markdown-create-self-contained-bib-file-from-cited-references
|
||||
function Pandoc(d)
|
||||
d.meta.references = pandoc.utils.references(d)
|
||||
d.meta.bibliography = nil
|
||||
return d
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
package.path=package.path..";" ..debug.getinfo(1).source:match("(.*[/\\])"):sub(2) .. "?.lua"
|
||||
|
||||
Mode='hugo'
|
||||
|
||||
require('markdown')
|
||||
@@ -0,0 +1,237 @@
|
||||
package.path=debug.getinfo(1).source:gsub('@',''):sub(0):match('(.*[/\\])'):sub(0) .. '?.lua' .. ';' .. package.path
|
||||
|
||||
require("polyfill")
|
||||
local url = require('url')
|
||||
|
||||
local pandoc=pandoc
|
||||
local PANDOC_STATE=PANDOC_STATE
|
||||
|
||||
PANDOC_VERSION:must_be_at_least '3.1.7'
|
||||
|
||||
os.text = pandoc.text
|
||||
|
||||
local PATH = pandoc.path
|
||||
local doc_dir = nil
|
||||
local media_dir = nil
|
||||
|
||||
if Mode == nil then
|
||||
Mode = 'default'
|
||||
end
|
||||
|
||||
-- print("Mode: "..Mode)
|
||||
|
||||
if PANDOC_STATE.output_file then
|
||||
local output_file = PANDOC_STATE.output_file
|
||||
doc_dir = PATH.directory(output_file)
|
||||
if PANDOC_WRITER_OPTIONS.variables["media_dir"] then
|
||||
media_dir = tostring(PANDOC_WRITER_OPTIONS.variables["media_dir"])
|
||||
else
|
||||
media_dir = PATH.split_extension(output_file)
|
||||
if Mode ~= 'hugo' then
|
||||
media_dir = media_dir .. '-media'
|
||||
end
|
||||
end
|
||||
end
|
||||
assert(doc_dir, "doc_dir is nil")
|
||||
assert(media_dir, "media_dir is nil")
|
||||
|
||||
|
||||
local function get_absolute_path(file_path)
|
||||
if PATH.is_absolute(file_path) then
|
||||
return file_path
|
||||
end
|
||||
for _, dir in pairs(PANDOC_STATE.resource_path) do
|
||||
local full_path = PATH.join({dir, file_path})
|
||||
if os.exists(full_path) then
|
||||
return full_path
|
||||
end
|
||||
end
|
||||
for _, file in pairs(PANDOC_STATE.input_files) do
|
||||
if not PATH.is_absolute(file) then
|
||||
file = PATH.join({pandoc.system.get_working_directory(), file_path})
|
||||
end
|
||||
local dir = PATH.directory(file)
|
||||
local full_path = PATH.join({dir, file_path})
|
||||
if os.exists(full_path) then
|
||||
return full_path
|
||||
end
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
local function get_output_file(file_path)
|
||||
if media_dir then
|
||||
local new_file_name = pandoc.utils.sha1(file_path)
|
||||
local _, new_file_ext = PATH.split_extension(file_path)
|
||||
file_path = new_file_name .. new_file_ext
|
||||
local full_path = PATH.join({media_dir, file_path})
|
||||
return full_path
|
||||
else
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
local function extract_media(file_path)
|
||||
os.mkdir(media_dir)
|
||||
file_path = url.decode(file_path)
|
||||
local abs_path = get_absolute_path(file_path)
|
||||
local file = get_output_file(file_path)
|
||||
if abs_path and file then
|
||||
if not os.exists(file) then
|
||||
os.copy(abs_path, file)
|
||||
end
|
||||
local rel_path = PATH.make_relative(file, doc_dir, false)
|
||||
local parts = PATH.split(rel_path)
|
||||
for i,v in ipairs(parts) do
|
||||
parts[i] = url.encode(v)
|
||||
end
|
||||
local encoded_rel_path = table.concat(parts, "/")
|
||||
if Mode == 'hugo' then
|
||||
encoded_rel_path = '../' .. encoded_rel_path
|
||||
end
|
||||
return encoded_rel_path
|
||||
end
|
||||
end
|
||||
|
||||
local function raw(s)
|
||||
return pandoc.RawInline('markdown', s)
|
||||
end
|
||||
|
||||
function Image(el)
|
||||
local src = extract_media(el.src)
|
||||
if src then
|
||||
el.src = src
|
||||
end
|
||||
return el
|
||||
end
|
||||
|
||||
function Space()
|
||||
return raw(' ')
|
||||
end
|
||||
|
||||
function SoftBreak()
|
||||
return raw('\n')
|
||||
end
|
||||
|
||||
function RawInline(el)
|
||||
if el.format == "html" then
|
||||
el.format = 'markdown'
|
||||
el.text = string.gsub(el.text, '<img[^>]+>', function(img)
|
||||
return string.gsub(img, 'src="([^"]+)"', function(url)
|
||||
if string.find(url, '^[Hh][Tt][Tt][Pp][Ss]?://') == nil then
|
||||
local extract_media_url = extract_media(url)
|
||||
if extract_media_url then
|
||||
return 'src="' .. extract_media_url .. '"'
|
||||
end
|
||||
return '123'
|
||||
end
|
||||
return 'src="' .. url .. '"'
|
||||
end)
|
||||
end)
|
||||
end
|
||||
return el
|
||||
end
|
||||
|
||||
function RawBlock(el)
|
||||
if el.format == "html" then
|
||||
el.format = 'markdown'
|
||||
end
|
||||
return el
|
||||
end
|
||||
|
||||
function Math(el)
|
||||
if Mode == 'hugo' then
|
||||
if el.mathtype == 'DisplayMath' then
|
||||
return raw('{{< mathjax >}}\n$$' .. el.text .. '$$\n{{</mathjax >}}')
|
||||
else
|
||||
el.text = string.gsub(el.text, '\\[\\{\\}]', function (v)
|
||||
return '\\' .. v
|
||||
end)
|
||||
el.text = string.gsub(el.text, '_', function (v)
|
||||
return '\\' .. v
|
||||
end)
|
||||
end
|
||||
end
|
||||
return el
|
||||
end
|
||||
|
||||
local function headerLink(input)
|
||||
-- github style section link
|
||||
return "#"..input:gsub(' ', '-')
|
||||
end
|
||||
|
||||
|
||||
local function insertLink(content, linkDescription)
|
||||
local descriptionText = table.concat(linkDescription, "")
|
||||
|
||||
if string.find(descriptionText, '|') then
|
||||
local target, desc = descriptionText:match("(.*)|(.*)")
|
||||
table.insert(content, pandoc.Link(desc, headerLink(target)))
|
||||
else
|
||||
table.insert(content, pandoc.Link(descriptionText, headerLink(descriptionText)))
|
||||
end
|
||||
end
|
||||
|
||||
function Para(el)
|
||||
local content = el.content
|
||||
content = ProcessMath(content)
|
||||
content = ProcessInternalLinks(content)
|
||||
el.content = content
|
||||
return el
|
||||
end
|
||||
|
||||
function ProcessMath(elements)
|
||||
local content = {}
|
||||
local in_display_math = false
|
||||
for _, item in pairs(elements) do
|
||||
if item.t == 'Str'and item.text == "$$" then
|
||||
in_display_math = not in_display_math
|
||||
else
|
||||
if in_display_math then
|
||||
if item.t == 'RawInline' and item.format == 'tex' then
|
||||
local n = pandoc.Math('DisplayMath', '\n' .. item.text .. '\n')
|
||||
table.insert(content, Math(n))
|
||||
else
|
||||
table.insert(content, item)
|
||||
end
|
||||
else
|
||||
table.insert(content, item)
|
||||
end
|
||||
end
|
||||
end
|
||||
return content
|
||||
end
|
||||
|
||||
function ProcessInternalLinks(elements)
|
||||
local content = {}
|
||||
local in_section_link = false
|
||||
local linkDescription = {}
|
||||
|
||||
for _, item in pairs(elements) do
|
||||
if item.t == 'Str' and string.starts_with(item.text, '[[#') then
|
||||
in_section_link = true
|
||||
table.insert(linkDescription, string.sub(item.text, 4))
|
||||
elseif in_section_link then
|
||||
if string.ends_with(item.text, ']]') then
|
||||
table.insert(linkDescription, string.sub(item.text, 1, -3))
|
||||
insertLink(content, linkDescription)
|
||||
in_section_link = false
|
||||
linkDescription = {}
|
||||
else
|
||||
table.insert(linkDescription, item.text)
|
||||
end
|
||||
else
|
||||
table.insert(content, item)
|
||||
end
|
||||
end
|
||||
return content
|
||||
end
|
||||
|
||||
function Plain(el)
|
||||
el.content = ProcessInternalLinks(el.content)
|
||||
return el
|
||||
end
|
||||
|
||||
function Pandoc(el)
|
||||
return el
|
||||
end
|
||||
@@ -0,0 +1,68 @@
|
||||
traverse = 'topdown'
|
||||
|
||||
math_block_text = nil
|
||||
function process(el)
|
||||
|
||||
-- MathBlock start or end
|
||||
if el.t == 'Str' and el.text == '$$' then
|
||||
if math_block_text == nil then -- start
|
||||
math_block_text = ''
|
||||
else -- end
|
||||
local math_block = pandoc.Math('DisplayMath', '\n' .. math_block_text .. '\n')
|
||||
math_block_text = nil
|
||||
return math_block
|
||||
end
|
||||
return {}
|
||||
end
|
||||
|
||||
if math_block_text then
|
||||
if (el.t == 'RawInline' or el.t == 'RawBlock') and el.format == 'tex' then
|
||||
math_block_text = math_block_text .. el.text
|
||||
return {}
|
||||
elseif el.t == 'Str' then
|
||||
math_block_text = math_block_text .. el.text
|
||||
return {}
|
||||
elseif el.t == 'SoftBreak' or el.t == 'BulletList' then
|
||||
return {}
|
||||
end
|
||||
end
|
||||
return el
|
||||
end
|
||||
|
||||
function RawInline(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function RawBlock(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function Str(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function SoftBreak(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function Header(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function Para(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function Plain(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
function BulletList(el)
|
||||
return process(el)
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
return {
|
||||
{
|
||||
Math = function (elem)
|
||||
if elem.text:find("^%s*\\begin{") ~= nil then
|
||||
return pandoc.RawInline('tex', elem.text)
|
||||
else
|
||||
return elem
|
||||
end
|
||||
end,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
os.platform = nil
|
||||
if os.platform == nil then
|
||||
local libExt = package.cpath:match("%p[\\|/]?\\.%p(%a+)")
|
||||
if libExt == 'dll' then
|
||||
os.platform = "Windows"
|
||||
elseif libExt == 'so' then
|
||||
os.platform = "Linux"
|
||||
elseif libExt == 'dylib' then
|
||||
os.platform = "MacOS"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
os.copy = function(src, dest)
|
||||
if os.platform == "Windows" then
|
||||
src = string.gsub(src, "/", "\\")
|
||||
src = os.text.toencoding(src)
|
||||
dest = os.text.toencoding(dest)
|
||||
os.execute('copy "' .. src .. '" "' .. dest .. '" >NUL')
|
||||
else
|
||||
os.execute('cp "' .. src .. '" "' .. dest .. '"')
|
||||
end
|
||||
end
|
||||
|
||||
os.mkdir = function(dir)
|
||||
if os.exists(dir) then
|
||||
return
|
||||
end
|
||||
if os.platform == "Windows" then
|
||||
dir = os.text.toencoding(dir)
|
||||
os.execute('mkdir "' .. dir .. '"')
|
||||
else
|
||||
os.execute('mkdir -p "' .. dir .. '"')
|
||||
end
|
||||
end
|
||||
|
||||
os.exists = function(path)
|
||||
if os.platform == "Windows" then
|
||||
path = string.gsub(path, "/", "\\")
|
||||
path = os.text.toencoding(path)
|
||||
local _, _, code = os.execute('if exist "' .. path .. '" (exit 0) else (exit 1)')
|
||||
return code == 0
|
||||
else
|
||||
local _, _, code = os.execute('test -e "' .. path .. '"')
|
||||
return code == 0
|
||||
end
|
||||
end
|
||||
|
||||
string.starts_with = function(str, start)
|
||||
return str:sub(1, #start) == start
|
||||
end
|
||||
|
||||
string.ends_with = function(str, ending)
|
||||
return ending == "" or str:sub(-#ending) == ending
|
||||
end
|
||||
|
||||
|
||||
return {
|
||||
os = os,
|
||||
string = string
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
local function encode (str)
|
||||
str = string.gsub (str, "([^0-9a-zA-Z !'()*._~-])", -- locale independent
|
||||
function (c) return string.format ("%%%02X", string.byte(c)) end)
|
||||
str = string.gsub (str, " ", "%%20")
|
||||
return str
|
||||
end
|
||||
|
||||
|
||||
local function decode (str)
|
||||
str = string.gsub (str, "%%20", " ")
|
||||
str = string.gsub (str, "%%(%x%x)", function(h) return string.char(tonumber(h,16)) end)
|
||||
return str
|
||||
end
|
||||
|
||||
return {
|
||||
encode = encode,
|
||||
decode = decode
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "obsidian-enhancing-export",
|
||||
"name": "Enhancing Export",
|
||||
"version": "1.10.9",
|
||||
"minAppVersion": "1.6.3",
|
||||
"description": "This is a enhancing export plugin for Obsidian. It allows to export to formats like Html, DOCX, ePub and PDF or Markdown(Hugo) etc.",
|
||||
"author": "YISH",
|
||||
"authorUrl": "https://github.com/mokeyish",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.setting-item.ex-setting-item{border-top:unset;padding-top:0}*[hidden]{display:none}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,373 @@
|
||||
% partial rewrite of the LaTeX2e package for submissions to the
|
||||
% Conference on Neural Information Processing Systems (NeurIPS):
|
||||
%
|
||||
% - uses more LaTeX conventions
|
||||
% - line numbers at submission time replaced with aligned numbers from
|
||||
% lineno package
|
||||
% - \nipsfinalcopy replaced with [final] package option
|
||||
% - automatically loads times package for authors
|
||||
% - loads natbib automatically; this can be suppressed with the
|
||||
% [nonatbib] package option
|
||||
% - adds foot line to first page identifying the conference
|
||||
% - adds preprint option for submission to e.g. arXiv
|
||||
% - conference acronym modified
|
||||
%
|
||||
% Roman Garnett ([email protected]) and the many authors of
|
||||
% nips15submit_e.sty, including MK and drstrip@sandia
|
||||
%
|
||||
% last revision: March 2023
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{neurips}[2023/03/31 NeurIPS 2023 submission/camera-ready style file]
|
||||
|
||||
% declare final option, which creates camera-ready copy
|
||||
\newif\if@neuripsfinal\@neuripsfinalfalse
|
||||
\DeclareOption{final}{
|
||||
\@neuripsfinaltrue
|
||||
}
|
||||
|
||||
% declare nonatbib option, which does not load natbib in case of
|
||||
% package clash (users can pass options to natbib via
|
||||
% \PassOptionsToPackage)
|
||||
\newif\if@natbib\@natbibtrue
|
||||
\DeclareOption{nonatbib}{
|
||||
\@natbibfalse
|
||||
}
|
||||
|
||||
% declare preprint option, which creates a preprint version ready for
|
||||
% upload to, e.g., arXiv
|
||||
\newif\if@preprint\@preprintfalse
|
||||
\DeclareOption{preprint}{
|
||||
\@preprinttrue
|
||||
}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
% determine whether this is an anonymized submission
|
||||
\newif\if@submission\@submissiontrue
|
||||
\if@neuripsfinal\@submissionfalse\fi
|
||||
\if@preprint\@submissionfalse\fi
|
||||
|
||||
% fonts
|
||||
\renewcommand{\rmdefault}{ptm}
|
||||
\renewcommand{\sfdefault}{phv}
|
||||
|
||||
% change this every year for notice string at bottom
|
||||
\newcommand{\@neuripsordinal}{}
|
||||
\newcommand{\@neuripsyear}{\the\year}
|
||||
\newcommand{\@neuripslocation}{}
|
||||
|
||||
% acknowledgments
|
||||
\usepackage{environ}
|
||||
\newcommand{\acksection}{\section*{Acknowledgments and Disclosure of Funding}}
|
||||
\NewEnviron{ack}{%
|
||||
\acksection
|
||||
\BODY
|
||||
}
|
||||
|
||||
|
||||
% load natbib unless told otherwise
|
||||
\if@natbib
|
||||
\RequirePackage{natbib}
|
||||
\fi
|
||||
|
||||
% set page geometry
|
||||
\usepackage[verbose=true,letterpaper]{geometry}
|
||||
\AtBeginDocument{
|
||||
\newgeometry{
|
||||
textheight=9in,
|
||||
textwidth=5.5in,
|
||||
top=1in,
|
||||
headheight=12pt,
|
||||
headsep=25pt,
|
||||
footskip=30pt
|
||||
}
|
||||
\@ifpackageloaded{fullpage}
|
||||
{\PackageWarning{neurips_2023}{fullpage package not allowed! Overwriting formatting.}}
|
||||
{}
|
||||
}
|
||||
|
||||
\widowpenalty=10000
|
||||
\clubpenalty=10000
|
||||
\flushbottom
|
||||
\sloppy
|
||||
|
||||
|
||||
% font sizes with reduced leading
|
||||
\renewcommand{\normalsize}{%
|
||||
\@setfontsize\normalsize\@xpt\@xipt
|
||||
\abovedisplayskip 7\p@ \@plus 2\p@ \@minus 5\p@
|
||||
\abovedisplayshortskip \z@ \@plus 3\p@
|
||||
\belowdisplayskip \abovedisplayskip
|
||||
\belowdisplayshortskip 4\p@ \@plus 3\p@ \@minus 3\p@
|
||||
}
|
||||
\normalsize
|
||||
\renewcommand{\small}{%
|
||||
\@setfontsize\small\@ixpt\@xpt
|
||||
\abovedisplayskip 6\p@ \@plus 1.5\p@ \@minus 4\p@
|
||||
\abovedisplayshortskip \z@ \@plus 2\p@
|
||||
\belowdisplayskip \abovedisplayskip
|
||||
\belowdisplayshortskip 3\p@ \@plus 2\p@ \@minus 2\p@
|
||||
}
|
||||
\renewcommand{\footnotesize}{\@setfontsize\footnotesize\@ixpt\@xpt}
|
||||
\renewcommand{\scriptsize}{\@setfontsize\scriptsize\@viipt\@viiipt}
|
||||
\renewcommand{\tiny}{\@setfontsize\tiny\@vipt\@viipt}
|
||||
\renewcommand{\large}{\@setfontsize\large\@xiipt{14}}
|
||||
\renewcommand{\Large}{\@setfontsize\Large\@xivpt{16}}
|
||||
\renewcommand{\LARGE}{\@setfontsize\LARGE\@xviipt{20}}
|
||||
\renewcommand{\huge}{\@setfontsize\huge\@xxpt{23}}
|
||||
\renewcommand{\Huge}{\@setfontsize\Huge\@xxvpt{28}}
|
||||
|
||||
% sections with less space
|
||||
\providecommand{\section}{}
|
||||
\renewcommand{\section}{%
|
||||
\@startsection{section}{1}{\z@}%
|
||||
{-2.0ex \@plus -0.5ex \@minus -0.2ex}%
|
||||
{ 1.5ex \@plus 0.3ex \@minus 0.2ex}%
|
||||
{\large\bf\raggedright}%
|
||||
}
|
||||
\providecommand{\subsection}{}
|
||||
\renewcommand{\subsection}{%
|
||||
\@startsection{subsection}{2}{\z@}%
|
||||
{-1.8ex \@plus -0.5ex \@minus -0.2ex}%
|
||||
{ 0.8ex \@plus 0.2ex}%
|
||||
{\normalsize\bf\raggedright}%
|
||||
}
|
||||
\providecommand{\subsubsection}{}
|
||||
\renewcommand{\subsubsection}{%
|
||||
\@startsection{subsubsection}{3}{\z@}%
|
||||
{-1.5ex \@plus -0.5ex \@minus -0.2ex}%
|
||||
{ 0.5ex \@plus 0.2ex}%
|
||||
{\normalsize\bf\raggedright}%
|
||||
}
|
||||
\providecommand{\paragraph}{}
|
||||
\renewcommand{\paragraph}{%
|
||||
\@startsection{paragraph}{4}{\z@}%
|
||||
{1.5ex \@plus 0.5ex \@minus 0.2ex}%
|
||||
{-1em}%
|
||||
{\normalsize\bf}%
|
||||
}
|
||||
\providecommand{\subparagraph}{}
|
||||
\renewcommand{\subparagraph}{%
|
||||
\@startsection{subparagraph}{5}{\z@}%
|
||||
{1.5ex \@plus 0.5ex \@minus 0.2ex}%
|
||||
{-1em}%
|
||||
{\normalsize\bf}%
|
||||
}
|
||||
\providecommand{\subsubsubsection}{}
|
||||
\renewcommand{\subsubsubsection}{%
|
||||
\vskip5pt{\noindent\normalsize\rm\raggedright}%
|
||||
}
|
||||
|
||||
% float placement
|
||||
\renewcommand{\topfraction }{0.85}
|
||||
\renewcommand{\bottomfraction }{0.4}
|
||||
\renewcommand{\textfraction }{0.1}
|
||||
\renewcommand{\floatpagefraction}{0.7}
|
||||
|
||||
\newlength{\@neuripsabovecaptionskip}\setlength{\@neuripsabovecaptionskip}{7\p@}
|
||||
\newlength{\@neuripsbelowcaptionskip}\setlength{\@neuripsbelowcaptionskip}{\z@}
|
||||
|
||||
\setlength{\abovecaptionskip}{\@neuripsabovecaptionskip}
|
||||
\setlength{\belowcaptionskip}{\@neuripsbelowcaptionskip}
|
||||
|
||||
% swap above/belowcaptionskip lengths for tables
|
||||
\renewenvironment{table}
|
||||
{\setlength{\abovecaptionskip}{\@neuripsbelowcaptionskip}%
|
||||
\setlength{\belowcaptionskip}{\@neuripsabovecaptionskip}%
|
||||
\@float{table}}
|
||||
{\end@float}
|
||||
|
||||
% footnote formatting
|
||||
\setlength{\footnotesep }{6.65\p@}
|
||||
\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
|
||||
\renewcommand{\footnoterule}{\kern-3\p@ \hrule width 12pc \kern 2.6\p@}
|
||||
\setcounter{footnote}{0}
|
||||
|
||||
% paragraph formatting
|
||||
\setlength{\parindent}{\z@}
|
||||
\setlength{\parskip }{5.5\p@}
|
||||
|
||||
% list formatting
|
||||
\setlength{\topsep }{4\p@ \@plus 1\p@ \@minus 2\p@}
|
||||
\setlength{\partopsep }{1\p@ \@plus 0.5\p@ \@minus 0.5\p@}
|
||||
\setlength{\itemsep }{2\p@ \@plus 1\p@ \@minus 0.5\p@}
|
||||
\setlength{\parsep }{2\p@ \@plus 1\p@ \@minus 0.5\p@}
|
||||
\setlength{\leftmargin }{3pc}
|
||||
\setlength{\leftmargini }{\leftmargin}
|
||||
\setlength{\leftmarginii }{2em}
|
||||
\setlength{\leftmarginiii}{1.5em}
|
||||
\setlength{\leftmarginiv }{1.0em}
|
||||
\setlength{\leftmarginv }{0.5em}
|
||||
\def\@listi {\leftmargin\leftmargini}
|
||||
\def\@listii {\leftmargin\leftmarginii
|
||||
\labelwidth\leftmarginii
|
||||
\advance\labelwidth-\labelsep
|
||||
\topsep 2\p@ \@plus 1\p@ \@minus 0.5\p@
|
||||
\parsep 1\p@ \@plus 0.5\p@ \@minus 0.5\p@
|
||||
\itemsep \parsep}
|
||||
\def\@listiii{\leftmargin\leftmarginiii
|
||||
\labelwidth\leftmarginiii
|
||||
\advance\labelwidth-\labelsep
|
||||
\topsep 1\p@ \@plus 0.5\p@ \@minus 0.5\p@
|
||||
\parsep \z@
|
||||
\partopsep 0.5\p@ \@plus 0\p@ \@minus 0.5\p@
|
||||
\itemsep \topsep}
|
||||
\def\@listiv {\leftmargin\leftmarginiv
|
||||
\labelwidth\leftmarginiv
|
||||
\advance\labelwidth-\labelsep}
|
||||
\def\@listv {\leftmargin\leftmarginv
|
||||
\labelwidth\leftmarginv
|
||||
\advance\labelwidth-\labelsep}
|
||||
\def\@listvi {\leftmargin\leftmarginvi
|
||||
\labelwidth\leftmarginvi
|
||||
\advance\labelwidth-\labelsep}
|
||||
|
||||
% create title
|
||||
\providecommand{\maketitle}{}
|
||||
\renewcommand{\maketitle}{%
|
||||
\par
|
||||
\begingroup
|
||||
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
|
||||
% for perfect author name centering
|
||||
\renewcommand{\@makefnmark}{\hbox to \z@{$^{\@thefnmark}$\hss}}
|
||||
% The footnote-mark was overlapping the footnote-text,
|
||||
% added the following to fix this problem (MK)
|
||||
\long\def\@makefntext##1{%
|
||||
\parindent 1em\noindent
|
||||
\hbox to 1.8em{\hss $\m@th ^{\@thefnmark}$}##1
|
||||
}
|
||||
\thispagestyle{empty}
|
||||
\@maketitle
|
||||
\@thanks
|
||||
\@notice
|
||||
\endgroup
|
||||
\let\maketitle\relax
|
||||
\let\thanks\relax
|
||||
}
|
||||
|
||||
% rules for title box at top of first page
|
||||
\newcommand{\@toptitlebar}{
|
||||
\hrule height 4\p@
|
||||
\vskip 0.25in
|
||||
\vskip -\parskip%
|
||||
}
|
||||
\newcommand{\@bottomtitlebar}{
|
||||
\vskip 0.29in
|
||||
\vskip -\parskip
|
||||
\hrule height 1\p@
|
||||
\vskip 0.09in%
|
||||
}
|
||||
|
||||
% create title (includes both anonymized and non-anonymized versions)
|
||||
\providecommand{\@maketitle}{}
|
||||
\renewcommand{\@maketitle}{%
|
||||
\vbox{%
|
||||
\hsize\textwidth
|
||||
\linewidth\hsize
|
||||
\vskip 0.1in
|
||||
\@toptitlebar
|
||||
\centering
|
||||
{\LARGE\bf \@title\par}
|
||||
\@bottomtitlebar
|
||||
\if@submission
|
||||
\begin{tabular}[t]{c}\bf\rule{\z@}{24\p@}
|
||||
Anonymous Author(s) \\
|
||||
Affiliation \\
|
||||
Address \\
|
||||
\texttt{email} \\
|
||||
\end{tabular}%
|
||||
\else
|
||||
\def\And{%
|
||||
\end{tabular}\hfil\linebreak[0]\hfil%
|
||||
\begin{tabular}[t]{c}\bf\rule{\z@}{24\p@}\ignorespaces%
|
||||
}
|
||||
\def\AND{%
|
||||
\end{tabular}\hfil\linebreak[4]\hfil%
|
||||
\begin{tabular}[t]{c}\bf\rule{\z@}{24\p@}\ignorespaces%
|
||||
}
|
||||
\begin{tabular}[t]{c}\bf\rule{\z@}{24\p@}\@author\end{tabular}%
|
||||
\fi
|
||||
\vskip 0.3in \@minus 0.1in
|
||||
}
|
||||
}
|
||||
|
||||
% add conference notice to bottom of first page
|
||||
\newcommand{\ftype@noticebox}{8}
|
||||
\newcommand{\@notice}{%
|
||||
% give a bit of extra room back to authors on first page
|
||||
\enlargethispage{2\baselineskip}%
|
||||
\@float{noticebox}[b]%
|
||||
\footnotesize\@noticestring%
|
||||
\end@float%
|
||||
}
|
||||
|
||||
% abstract styling
|
||||
\renewenvironment{abstract}%
|
||||
{%
|
||||
\vskip 0.075in%
|
||||
\centerline%
|
||||
{\large\bf Abstract}%
|
||||
\vspace{0.5ex}%
|
||||
\begin{quote}%
|
||||
}
|
||||
{
|
||||
\par%
|
||||
\end{quote}%
|
||||
\vskip 1ex%
|
||||
}
|
||||
|
||||
% handle tweaks for camera-ready copy vs. submission copy
|
||||
\if@preprint
|
||||
\newcommand{\@noticestring}{%
|
||||
Preprint. Under review.%
|
||||
}
|
||||
\else
|
||||
\if@neuripsfinal
|
||||
\newcommand{\@noticestring}{%
|
||||
(\@neuripsyear) \@title
|
||||
}
|
||||
\else
|
||||
\newcommand{\@noticestring}{%
|
||||
(\@neuripsyear) \@title %
|
||||
}
|
||||
|
||||
% hide the acknowledgements
|
||||
\NewEnviron{hide}{}
|
||||
\let\ack\hide
|
||||
\let\endack\endhide
|
||||
|
||||
% line numbers for submission
|
||||
\RequirePackage{lineno}
|
||||
\linenumbers
|
||||
|
||||
% fix incompatibilities between lineno and amsmath, if required, by
|
||||
% transparently wrapping linenomath environments around amsmath
|
||||
% environments
|
||||
\AtBeginDocument{%
|
||||
\@ifpackageloaded{amsmath}{%
|
||||
\newcommand*\patchAmsMathEnvironmentForLineno[1]{%
|
||||
\expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
|
||||
\expandafter\let\csname oldend#1\expandafter\endcsname\csname end#1\endcsname
|
||||
\renewenvironment{#1}%
|
||||
{\linenomath\csname old#1\endcsname}%
|
||||
{\csname oldend#1\endcsname\endlinenomath}%
|
||||
}%
|
||||
\newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{%
|
||||
\patchAmsMathEnvironmentForLineno{#1}%
|
||||
\patchAmsMathEnvironmentForLineno{#1*}%
|
||||
}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{equation}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{align}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{flalign}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{alignat}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{gather}%
|
||||
\patchBothAmsMathEnvironmentsForLineno{multline}%
|
||||
}
|
||||
{}
|
||||
}
|
||||
\fi
|
||||
\fi
|
||||
|
||||
|
||||
\endinput
|
||||
@@ -0,0 +1,187 @@
|
||||
% This template was tested with Pandoc 3.4 and pandoc-crossref v0.3.18.0. It should be backwards compatible with older version of pandoc..
|
||||
\documentclass{article}
|
||||
|
||||
|
||||
% if you need to pass options to natbib, use, e.g.:
|
||||
% \PassOptionsToPackage{numbers, compress}{natbib}
|
||||
% before loading neurips_2023
|
||||
|
||||
|
||||
% ready for submission
|
||||
\usepackage[final,nonatbib]{neurips}
|
||||
|
||||
|
||||
% to compile a preprint version, e.g., for submission to arXiv, add add the
|
||||
% [preprint] option:
|
||||
% \usepackage[preprint]{neurips_2023}
|
||||
|
||||
|
||||
% to compile a camera-ready version, add the [final] option, e.g.:
|
||||
% \usepackage[final]{neurips_2023}
|
||||
|
||||
|
||||
% to avoid loading the natbib package, add option nonatbib:
|
||||
% \usepackage[nonatbib]{neurips_2023}
|
||||
|
||||
|
||||
\usepackage[utf8]{inputenc} % allow utf-8 input
|
||||
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
|
||||
\usepackage{hyperref} % hyperlinks
|
||||
\usepackage{url} % simple URL typesetting
|
||||
\usepackage{booktabs} % professional-quality tables
|
||||
\usepackage{amsfonts} % blackboard math symbols
|
||||
\usepackage{nicefrac} % compact symbols for 1/2, etc.
|
||||
\usepackage{microtype} % microtypography
|
||||
\usepackage{xcolor} % colors
|
||||
\usepackage{graphicx}
|
||||
\usepackage{longtable} % Add support for Pandoc's longtable if needed
|
||||
\usepackage{array} % For table alignment improvements
|
||||
\usepackage{amsmath}
|
||||
\usepackage{textcomp}
|
||||
\setlength{\LTcapwidth}{\textwidth} % To make captions fit within page width
|
||||
|
||||
\makeatletter
|
||||
\newsavebox\pandoc@box
|
||||
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
|
||||
\sbox\pandoc@box{#1}%
|
||||
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
|
||||
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
|
||||
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
|
||||
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
|
||||
\else\usebox{\pandoc@box}%
|
||||
\fi%
|
||||
}
|
||||
\makeatother
|
||||
\makeatletter
|
||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
||||
\makeatother
|
||||
% Scale images if necessary, so that they will not overflow the page
|
||||
% margins by default, and it is still possible to overwrite the defaults
|
||||
% using explicit options in \includegraphics[width, height, ...]{}
|
||||
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||
% Set default figure placement to htbp
|
||||
\makeatletter
|
||||
\def\fps@figure{htbp}
|
||||
\makeatother
|
||||
|
||||
$if(csl-refs)$
|
||||
% definitions for citeproc citations
|
||||
\NewDocumentCommand\citeproctext{}{}
|
||||
\NewDocumentCommand\citeproc{mm}{%
|
||||
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
|
||||
\makeatletter
|
||||
% allow citations to break across lines
|
||||
\let\@cite@ofmt\@firstofone
|
||||
% avoid brackets around text for \cite:
|
||||
\def\@biblabel#1{}
|
||||
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
|
||||
\makeatother
|
||||
\newlength{\cslhangindent}
|
||||
\setlength{\cslhangindent}{1.5em}
|
||||
\newlength{\csllabelwidth}
|
||||
\setlength{\csllabelwidth}{3em}
|
||||
\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
|
||||
{\begin{list}{}{%
|
||||
\setlength{\itemindent}{0pt}
|
||||
\setlength{\leftmargin}{0pt}
|
||||
\setlength{\parsep}{0pt}
|
||||
% turn on hanging indent if param 1 is 1
|
||||
\ifodd #1
|
||||
\setlength{\leftmargin}{\cslhangindent}
|
||||
\setlength{\itemindent}{-1\cslhangindent}
|
||||
\fi
|
||||
% set entry spacing
|
||||
\setlength{\itemsep}{#2\baselineskip}}}
|
||||
{\end{list}}
|
||||
\usepackage{calc}
|
||||
\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
|
||||
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
|
||||
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
|
||||
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
||||
$endif$
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
\title{$title$}
|
||||
|
||||
|
||||
% Iterate through the authors except last to add \And.
|
||||
|
||||
\author{%
|
||||
$for(authors/allbutlast)$
|
||||
$authors.name$\\$authors.affiliation$\\$authors.institution$\\$authors.email$\\$authors.address$ \And
|
||||
$endfor$
|
||||
$for(authors/last)$
|
||||
$authors.name$\\$authors.affiliation$\\$authors.institution$\\$authors.email$\\$authors.address$
|
||||
$endfor$
|
||||
}
|
||||
|
||||
% \author{%
|
||||
% David S.~Hippocampus \\
|
||||
% Department of Computer Science\\
|
||||
% Cranberry-Lemon University\\
|
||||
% Pittsburgh, PA 15213 \\
|
||||
% \texttt{[email protected]} \\
|
||||
% % examples of more authors
|
||||
% % \And
|
||||
% % Coauthor \\
|
||||
% % Affiliation \\
|
||||
% % Address \\
|
||||
% % \texttt{email} \\
|
||||
% % \AND
|
||||
% % Coauthor \\
|
||||
% % Affiliation \\
|
||||
% % Address \\
|
||||
% % \texttt{email} \\
|
||||
% % \And
|
||||
% % Coauthor \\
|
||||
% % Affiliation \\
|
||||
% % Address \\
|
||||
% % \texttt{email} \\
|
||||
% % \And
|
||||
% % Coauthor \\
|
||||
% % Affiliation \\
|
||||
% % Address \\
|
||||
% % \texttt{email} \\
|
||||
% }
|
||||
|
||||
|
||||
\begin{document}
|
||||
|
||||
|
||||
\maketitle
|
||||
|
||||
|
||||
\begin{abstract}
|
||||
$if(abstract)$
|
||||
$abstract$
|
||||
$else$
|
||||
Add your abstract at the beginning of your markdown file like this
|
||||
\begin{verbatim}
|
||||
---
|
||||
title: "Your Title"
|
||||
abstract: "your abstract here"
|
||||
authors:
|
||||
- name: Leonardo V. Castorina
|
||||
affiliation: School of Informatics
|
||||
institution: University of Edinburgh
|
||||
email: [email protected]
|
||||
address: Edinburgh
|
||||
- name: Coauthor
|
||||
affiliation: Affiliation
|
||||
institution: Institution
|
||||
email: [email protected]
|
||||
address: Address
|
||||
---
|
||||
\end{verbatim}
|
||||
This is called YAML frontmatter. If you set your abstract correctly you should not see this message.
|
||||
$endif$
|
||||
\end{abstract}
|
||||
|
||||
|
||||
$body$
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
\end{document}
|
||||
+32631
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "obsidian-mind-map",
|
||||
"name": "Mind Map",
|
||||
"version": "1.1.0",
|
||||
"description": "A plugin to preview notes as Markmap mind maps",
|
||||
"isDesktopOnly": false,
|
||||
"js": "main.js"
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"settingsVersion": "1.8.01",
|
||||
"makeOfflineCompatible": false,
|
||||
"inlineAssets": false,
|
||||
"includePluginCSS": "",
|
||||
"includeSvelteCSS": true,
|
||||
"titleProperty": "title",
|
||||
"customHeadContentPath": "",
|
||||
"faviconPath": "",
|
||||
"documentWidth": "40em",
|
||||
"sidebarWidth": "20em",
|
||||
"minOutlineCollapse": 2,
|
||||
"startOutlineCollapsed": false,
|
||||
"allowFoldingHeadings": true,
|
||||
"allowFoldingLists": true,
|
||||
"allowResizingSidebars": true,
|
||||
"logLevel": "warning",
|
||||
"minifyHTML": true,
|
||||
"makeNamesWebStyle": true,
|
||||
"onlyExportModified": true,
|
||||
"deleteOldFiles": true,
|
||||
"addThemeToggle": true,
|
||||
"addOutline": true,
|
||||
"addFileNav": true,
|
||||
"addSearchBar": true,
|
||||
"addGraphView": true,
|
||||
"addTitle": true,
|
||||
"addRSSFeed": true,
|
||||
"siteURL": "",
|
||||
"authorName": "",
|
||||
"vaultTitle": "OSCP",
|
||||
"exportPreset": "website",
|
||||
"openAfterExport": false,
|
||||
"graphAttractionForce": 1,
|
||||
"graphLinkLength": 10,
|
||||
"graphRepulsionForce": 150,
|
||||
"graphCentralForce": 3,
|
||||
"graphEdgePruning": 100,
|
||||
"graphMinNodeSize": 3,
|
||||
"graphMaxNodeSize": 7,
|
||||
"showDefaultTreeIcons": false,
|
||||
"emojiStyle": "Native",
|
||||
"defaultFileIcon": "lucide//file",
|
||||
"defaultFolderIcon": "lucide//folder",
|
||||
"defaultMediaIcon": "lucide//file-image",
|
||||
"exportPath": "/var/home/julle/Documents/html",
|
||||
"filesToExport": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
+74824
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "webpage-html-export",
|
||||
"name": "Webpage HTML Export",
|
||||
"version": "1.8.01",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.",
|
||||
"author": "Nathan George",
|
||||
"authorUrl": "https://github.com/KosmosisDire/obsidian-webpage-export",
|
||||
"isDesktopOnly": true,
|
||||
"fundingUrl": "https://www.buymeacoffee.com/nathangeorge",
|
||||
"updateNote": "This is a quick patch to fix the style issue\ncaused by the obsidian 1.5.8 update.\nIt is not newer than the current 1.8.1 beta."
|
||||
}
|
||||
+432
@@ -0,0 +1,432 @@
|
||||
/* THIS FILE IS NOT EXPORTED WITH THE HTML FILE! */
|
||||
|
||||
/* Flow list used on the settings page */
|
||||
.flow-list {
|
||||
contain: inline-size;
|
||||
gap: 0.2em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
width: -webkit-fill-available;
|
||||
background-color: var(--background-secondary);
|
||||
border: 1px solid var(--divider-color);
|
||||
border-radius: 5px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.flow-item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-radius: 100px;
|
||||
border: 1px solid var(--divider-color);
|
||||
font-size: 0.9em;
|
||||
height: min-content;
|
||||
width: max-content;
|
||||
padding: 3px 8px 3px 8px;
|
||||
margin: 0.1em 0em 0.1em 0.0em;
|
||||
background-color: var(--background-primary);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flow-item:has(input:checked) {
|
||||
background-color: hsla(var(--color-accent-hsl), 0.3);
|
||||
}
|
||||
|
||||
.flow-item input[type="checkbox"] {
|
||||
padding: 0;
|
||||
margin: 0.1em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
/* Progressbar used in the render progress */
|
||||
|
||||
.html-render-progressbar::-webkit-progress-bar {
|
||||
background-color: var(--background-secondary);
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
.html-render-progressbar::-webkit-progress-value {
|
||||
background-color: currentColor;
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
|
||||
/*#region Tree */
|
||||
|
||||
.tree-container
|
||||
{
|
||||
--checkbox-size: 1.2em;
|
||||
--collapse-arrow-size: 0.5em;
|
||||
--tree-horizontal-spacing: calc(var(--collapse-arrow-size) * 2);
|
||||
--tree-vertical-spacing: 0.5em;
|
||||
--sidebar-margin: 12px;
|
||||
|
||||
font-size: 14px;
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
input[type=checkbox].file-checkbox
|
||||
{
|
||||
position: absolute;
|
||||
margin-left: calc(0px - var(--collapse-arrow-size) * 2 - 0.5em - var(--checkbox-size) - 0.5em);
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.theme-dark .tree-item:has(.file-checkbox.checked).mod-tree-folder
|
||||
{
|
||||
transition: border-radius 0.2s, background-color 0.2s;
|
||||
background-color: rgba(var(--color-blue-rgb), 0.05);
|
||||
border-radius: 3px var(--radius-l) var(--radius-l) 3px;
|
||||
}
|
||||
|
||||
.tree-item:has(.tree-item-contents)
|
||||
{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tree-item:has(.file-checkbox).mod-tree-folder
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tree-item.mod-tree-control
|
||||
{
|
||||
background-color: var(--color-base-00);
|
||||
border-radius: var(--radius-s);
|
||||
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
|
||||
width: fit-content;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tree-item:has(.file-checkbox.checked).mod-tree-folder.is-collapsed
|
||||
{
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.tree-item-title *
|
||||
{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
.tree-container .tree-item-icon *
|
||||
{
|
||||
color: var(--text-muted);
|
||||
font-family: emoji;
|
||||
}
|
||||
|
||||
.tree-container .tree-item-icon :is(svg,img)
|
||||
{
|
||||
-webkit-mask-image-repeat: no-repeat;
|
||||
-webkit-mask-image-position: center;
|
||||
max-width: 1.3em;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Skip outer wrappers around icons */
|
||||
.tree-container .tree-item-icon *:has(svg)
|
||||
{
|
||||
display: contents !important;
|
||||
}
|
||||
|
||||
.tree-container .tree-item-icon
|
||||
{
|
||||
min-width: 1.6em;
|
||||
max-width: 1.6em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.theme-dark .tree-item:has(> .tree-link > .tree-item-contents > .file-checkbox:not(.checked)):has(.file-checkbox.checked).mod-tree-folder
|
||||
{
|
||||
background-color: rgba(var(--color-pink-rgb), 0.1);
|
||||
}
|
||||
|
||||
.theme-light .tree-item:has(.file-checkbox.checked).mod-tree-folder
|
||||
{
|
||||
transition: border-radius 0.2s, background-color 0.2s;
|
||||
background-color: rgba(var(--color-blue-rgb), 0.15);
|
||||
border-radius: 3px var(--radius-l) var(--radius-l) 3px;
|
||||
}
|
||||
|
||||
.theme-light .tree-item:has(> .tree-link > .tree-item-contents > .file-checkbox:not(.checked)):has(.file-checkbox.checked).mod-tree-folder
|
||||
{
|
||||
background-color: rgba(var(--color-pink-rgb), 0.15);
|
||||
}
|
||||
|
||||
|
||||
/* Base tree */
|
||||
.tree-container
|
||||
{
|
||||
/* padding-bottom: 12px; */
|
||||
/* margin: 12px; */
|
||||
/* height: 100%; */
|
||||
/* position: relative; */
|
||||
/* display: contents; */
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
margin: var(--sidebar-margin);
|
||||
margin-top: 3em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tree-container .tree-header
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: -3em;
|
||||
}
|
||||
|
||||
.tree-container .tree-header .sidebar-section-header
|
||||
{
|
||||
margin: 1em;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.tree-container:has(.tree-scroll-area:empty)
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tree-container .tree-scroll-area
|
||||
{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
overflow-y: auto;
|
||||
padding: 1em;
|
||||
padding-right: calc(1em + var(--sidebar-margin));
|
||||
padding-bottom: 3em;
|
||||
border-radius: var(--radius-m);
|
||||
}
|
||||
|
||||
.tree-container .tree-item
|
||||
{
|
||||
transition: background-color 0.2s;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
padding: 0;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.tree-container .tree-item-children
|
||||
{
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
|
||||
border-left: none;
|
||||
width: -webkit-fill-available;
|
||||
}
|
||||
|
||||
.tree-container .tree-item.mod-active > .tree-link > .tree-item-contents
|
||||
{
|
||||
color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.tree-container .tree-link {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
color: var(--nav-item-color);
|
||||
width: -webkit-fill-available;
|
||||
margin-left: var(--tree-horizontal-spacing);
|
||||
}
|
||||
|
||||
.tree-container .tree-link:active
|
||||
{
|
||||
color: var(--nav-item-color-active);
|
||||
}
|
||||
|
||||
.tree-container .tree-item-contents
|
||||
{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
background-color: transparent !important;
|
||||
border-radius: var(--radius-s);
|
||||
padding-left: calc(var(--tree-horizontal-spacing) + var(--checkbox-size) * 2 + 1px) !important;
|
||||
padding-bottom: calc(var(--tree-vertical-spacing) / 2) !important;
|
||||
padding-top: calc(var(--tree-vertical-spacing) / 2) !important;
|
||||
color: var(--text-normal);
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tree-container .tree-item-contents:has(.tree-item-icon.collapse-icon)
|
||||
{
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.tree-container .tree-item-title
|
||||
{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-wrap: nowrap;
|
||||
white-space: nowrap;
|
||||
|
||||
width: 100%;
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
width: fill-available;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tree-container .collapse-icon {
|
||||
margin-left: calc(0px - var(--collapse-arrow-size) * 2 - 0.5em);
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tree-container .tree-item.mod-tree-folder > .tree-link > .collapse-icon
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tree-container .collapse-icon > svg {
|
||||
color: unset !important;
|
||||
}
|
||||
|
||||
.tree-container .collapse-icon:hover
|
||||
{
|
||||
color: var(--nav-item-color-hover);
|
||||
}
|
||||
|
||||
.tree-container .tree-item.is-collapsed > .tree-link > .tree-item-contents > .collapse-icon > svg
|
||||
{
|
||||
transition: transform 0.1s ease-in-out;
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.tree-container .tree-item-contents:hover
|
||||
{
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tree-container .tree-link:hover
|
||||
{
|
||||
background-color: var(--nav-item-background-hover);
|
||||
border-radius: var(--radius-s);
|
||||
}
|
||||
|
||||
.tree-container .tree-item-title
|
||||
{
|
||||
background-color: transparent !important;
|
||||
color: var(--nav-item-color) !important;
|
||||
}
|
||||
|
||||
|
||||
/* Indentation guide */
|
||||
|
||||
.tree-container > .tree-scroll-area > * .tree-item
|
||||
{
|
||||
margin-left: calc(var(--tree-horizontal-spacing) + var(--collapse-arrow-size) / 2 + 1px);
|
||||
border-left: var(--nav-indentation-guide-width) solid var(--nav-indentation-guide-color);
|
||||
}
|
||||
|
||||
.tree-container .tree-scroll-area > * > * > .tree-item
|
||||
{
|
||||
margin-left: calc(var(--collapse-arrow-size) / 2 + 1px);
|
||||
}
|
||||
|
||||
.tree-container .tree-item.mod-active
|
||||
{
|
||||
border-left: var(--nav-indentation-guide-width) solid var(--interactive-accent);
|
||||
}
|
||||
|
||||
|
||||
.tree-container .tree-item:hover:not(.mod-active):not(.mod-collapsible):not(:has(.tree-item:hover)) /* Hover */
|
||||
{
|
||||
border-left: var(--nav-indentation-guide-width) solid var(--nav-item-color-hover);
|
||||
}
|
||||
|
||||
.tree-container .tree-item:not(.mod-collapsible) > .tree-item-children > .tree-item,
|
||||
.tree-container > .tree-scroll-area > .tree-item,
|
||||
.tree-container:not(.mod-nav-indicator) .tree-item
|
||||
{
|
||||
border-left: none !important;
|
||||
}
|
||||
|
||||
.tree-container .tree-item:not(.mod-collapsible) > .tree-item-children > .tree-item > .tree-link,
|
||||
.tree-container:not(.mod-nav-indicator) .tree-item .tree-link,
|
||||
.tree-container > .tree-scroll-area > .tree-item > .tree-link
|
||||
{
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
/* Special */
|
||||
|
||||
|
||||
/* AnuPpuccin rainbow indent support */
|
||||
.anp-simple-rainbow-color-toggle.anp-simple-rainbow-indentation-toggle .tree-container .tree-item
|
||||
{
|
||||
border-color: rgba(var(--rainbow-folder-color), 0.5);
|
||||
}
|
||||
|
||||
.tree-container.outline-tree .tree-item[data-depth='1'] > .tree-link > .tree-item-contents
|
||||
{
|
||||
font-weight: 900;
|
||||
font-size: 1.1em;
|
||||
margin-left: 0;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.tree-container .nav-folder.mod-root .nav-folder>.nav-folder-children
|
||||
{
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.tree-container .nav-file
|
||||
{
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.tree-container .nav-folder.mod-root .nav-folder > .nav-folder-children
|
||||
{
|
||||
border-radius: var(--radius-s) !important;;
|
||||
}
|
||||
|
||||
.tree-container .nav-file-tag
|
||||
{
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.tree-container .nav-file-title-content, .tree-container .nav-folder-title-content
|
||||
{
|
||||
margin-top: unset !important;
|
||||
margin-bottom: unset !important;
|
||||
margin-left: unset !important;
|
||||
margin-right: unset !important;
|
||||
display: unset !important;
|
||||
border-radius: unset !important;
|
||||
cursor: unset !important;
|
||||
font-size: unset !important;
|
||||
font-weight: unset !important;
|
||||
line-height: unset !important;
|
||||
padding: unset !important;
|
||||
border: unset !important;
|
||||
}
|
||||
|
||||
.tree-item-contents:has(.tree-item-icon) .tree-item-title::before
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
/*#endregion */
|
||||
Vendored
+226
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "1e1dfafc416d3823",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "41a215a5e6e7b07d",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "04550972536d9a99",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Proof.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Proof"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "8c61bb6cda4e7ac6",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "489ba046683ef226",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "7cefa59e3501848a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical",
|
||||
"autoReveal": false
|
||||
},
|
||||
"icon": "lucide-folder-closed",
|
||||
"title": "Files"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1f2b3a02e4d9d7c7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "privesc",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-search",
|
||||
"title": "Search"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "97e53de1e3495ed2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {},
|
||||
"icon": "lucide-bookmark",
|
||||
"title": "Bookmarks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 579.5
|
||||
},
|
||||
"right": {
|
||||
"id": "8978c25c21499198",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "3965cff385e97fd3",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "21fe21c4bd728120",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Proof.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for Proof"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "65471ec07cc62613",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Labs/medtech/computers/192.168.152.121.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from 192.168.152.121"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "df4c64fc0fbadbf2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "085420544f04374b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Labs/medtech/computers/192.168.152.121.md"
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of 192.168.152.121"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"bases:Create new base": false,
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"daily-notes:Open today's daily note": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false,
|
||||
"webpage-html-export:Export Vault to HTML": false
|
||||
}
|
||||
},
|
||||
"active": "7cefa59e3501848a",
|
||||
"lastOpenFiles": [
|
||||
"Windows/WWW.md",
|
||||
"Windows/SMB.md",
|
||||
"Windows/Scheduled Tasks.md",
|
||||
"Windows/Information Gathering.md",
|
||||
"Windows/Active Directory for OSCP.md",
|
||||
"Windows/Tunnel/netsh.md",
|
||||
"Windows/Tunnel/ligolo.md",
|
||||
"Windows/Tunnel/chisel.md",
|
||||
"Windows/SMB/crackmapexec.md",
|
||||
"Windows/Services/Unquoted Service Paths.md",
|
||||
"Windows/Services/DLL Hijacking.md",
|
||||
"Windows/Services/Binary Hijacking.md",
|
||||
"Windows/Privesc/Juicypotato.md",
|
||||
"Windows/Information Gathering/Username and Hostname.md",
|
||||
"Windows/Information Gathering/Network.md",
|
||||
"Windows/Information Gathering/Locate files.md",
|
||||
"Windows/Information Gathering/Installed Program.md",
|
||||
"Windows/Information Gathering/History.md",
|
||||
"Windows/CMD/Power_Reboot.md",
|
||||
"Windows/CMD/Permission.md",
|
||||
"Windows/CMD/File Transfer.md",
|
||||
"Windows/CMD/Backup.md",
|
||||
"Windows/Active Directory for OSCP/NTDS.dir cracking with SYSTEM.md",
|
||||
"Windows/Active Directory for OSCP/Mimikatz.md",
|
||||
"Windows/Active Directory for OSCP/Enumeration.md",
|
||||
"Windows/Active Directory for OSCP/We have User Name but no Password/Password Spray.md",
|
||||
"Windows/unnamed_b656515f39144863bbdaa2d5851c417c.png",
|
||||
"MindMap/AD Mindmap/AD - OSCP.canvas",
|
||||
"MindMap/WiFi/WiFi Mindmap.canvas",
|
||||
"MindMap/Web Penetration Testing Mindmap/Mindmap Web Application Pentesting.canvas",
|
||||
"MindMap/SSTI/SSTI Identification technology.canvas",
|
||||
"MindMap/Shells/Staged - VS - Non-staged payloads.canvas",
|
||||
"MindMap/Shells/Shells.canvas",
|
||||
"MindMap/Privilege escalation Mindmap/00 WPE Flow.canvas",
|
||||
"MindMap/Privilege escalation Mindmap/00 Mindmap Windows Privilege Escalation.canvas",
|
||||
"MindMap/Privilege escalation Mindmap/00 Mindmap Linux Privilege Escalation.canvas",
|
||||
"MindMap/Privilege escalation Mindmap/00 LPE Flow.canvas",
|
||||
"MindMap/image/Web-Penetration-Testing-Mindmap.png",
|
||||
"MindMap/image/SSTI Identification technology.png",
|
||||
"MindMap/image/Mindmap transfer files to VICTIM.png",
|
||||
"MindMap/image/Mindmap transfer files to ATTACKER.png",
|
||||
"MindMap/image/Mindmap Web Application Pentesting.png",
|
||||
"MindMap/image/Mindmap Remote Port Forwarding.png",
|
||||
"MindMap/image/Mindmap Remote Port Forwarding from a home network.png",
|
||||
"MindMap/image/Mindmap Local Port Forwarding.png",
|
||||
"MindMap/image/Mindmap Local Port Forwarding with a Bastion host.png",
|
||||
"MindMap/image",
|
||||
"MindMap/WiFi",
|
||||
"MindMap/Web Penetration Testing Mindmap/Web-Penetration-Testing-Mindmap.mm",
|
||||
"MindMap/Web Penetration Testing Mindmap",
|
||||
"MindMap/Shells",
|
||||
"MindMap/SSTI",
|
||||
"MindMap/Privilege escalation Mindmap",
|
||||
"MindMap/Pivotting-tunnels",
|
||||
"MindMap/LICENSE",
|
||||
"MindMap/File-Transfer"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user