- version 3.6
Check those constraints:
$this->anything()
#!/usr/bin/env bash | |
# Create a linkified vimwiki tree of the specified directory and subdirectories. | |
# It takes one argument: the base directory of the vimwiki. | |
# For the links to make sense, place the output of this script into a file located in this base directory. | |
# Print header | |
echo '= Wiki contents =' | |
echo | |
cd "$1" |
function toJSON(node) { | |
let propFix = { for: 'htmlFor', class: 'className' }; | |
let specialGetters = { | |
style: (node) => node.style.cssText, | |
}; | |
let attrDefaultValues = { style: '' }; | |
let obj = { | |
nodeType: node.nodeType, | |
}; | |
if (node.tagName) { |
/** | |
* Fit caption to the width of any image | |
*/ | |
.captioned-figure { | |
display: table; | |
table-layout: fixed; | |
} | |
.captioned-figure img { | |
margin-bottom: 10px; | |
border: 0; |