Merge pull request #279 from dmitmel/master

[pull] master from dmitmel:master
This commit is contained in:
pull[bot] 2021-06-03 15:34:06 +00:00 committed by GitHub
commit 44cbd032da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View file

@ -54,7 +54,11 @@ set commentstring=//%s
" remember cursor position
augroup vimrc-editing-remember-cursor-position
autocmd!
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exec "normal! g`\"" | endif
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$")
\| exec "normal! g`\""
\|endif
\|silent! .foldopen
augroup END
" }}}

View file

@ -1,6 +1,7 @@
#!/usr/bin/env node
const fs = require('fs');
const pathM = require('path');
const argparse = require('argparse');
const markdownIt = require('markdown-it');
const markdownItTaskCheckbox = require('markdown-it-task-checkbox');
@ -110,6 +111,7 @@ let renderedHtmlDocument = `
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>${pathM.basename(args.INPUT_FILE || '<stdin>')}</title>
${stylesheetsTexts.map((s) => `<style>\n${s}\n</style>`).join('\n')}
</head>
<body>

File diff suppressed because one or more lines are too long

View file

@ -265,8 +265,14 @@ h6 {
}
}
&:hover .anchor {
> * {
&:hover {
.anchor > * {
visibility: visible;
}
}
@media (hover: none) {
.anchor > * {
visibility: visible;
}
}