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
-- This is a sample custom writer for pandoc. It produces output | |
-- pukiwiki | |
-- Invoke with: pandoc -t pukiwiki.lua | |
-- This custom writer is made refering "sample.lua"(https://github.com/jgm/pandoc/blob/master/data/sample.lua) | |
-- The writer cannot translate markdown in pukiwiki perfectly. But I'm satisfy with this one. | |
-- Character escaping | |
local function escape(s, in_attribute) | |
return s:gsub("[<>&\"']", | |
function(x) |
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
-- This is a sample custom writer for pandoc. | |
-- Scrapbox | |
-- Character escaping | |
local function escape(s, in_attribute) | |
return s:gsub("[<>&\"']", | |
function(x) | |
if x == '<' then | |
return '<' | |
elseif x == '>' then |
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
@media screen and ( max-width:1000px) { | |
.DocumentContainer.is-centerDocument .DocumentBreadcrumb, | |
.DocumentContainer.is-centerDocument .Document{ | |
max-width: 820px; | |
} | |
} | |
@media screen and (min-width:1001px) { | |
.DocumentContainer.is-centerDocument .DocumentBreadcrumb, | |
.DocumentContainer.is-centerDocument .Document{ | |
max-width: 60%; |
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
.post-header { | |
border-bottom: none; | |
} | |
@media screen and (min-width: 1000px) { | |
.layout-post__main { | |
max-width: 80%; | |
} | |
} |