Skip to content

Instantly share code, notes, and snippets.

View Phroneris's full-sized avatar

森の子リスのミーコの大冒険 Phroneris

View GitHub Profile
@Phroneris
Phroneris / my-vscode-markdown-example.css
Last active September 23, 2023 15:50
VS CodeのMarkdownプレビューのQiita記事用CSS
@charset "UTF-8";
.github-markdown-body {
background: yellow; /* 真っ黄色の背景 */
}
@Phroneris
Phroneris / my-vscode-markdown.css
Last active September 23, 2023 15:09
VS CodeのMarkdownプレビュー(GitHub Markdown Preview)の自分用CSS
@charset "UTF-8";
.github-markdown-body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,
"BIZ UDPGothic", /* ←追加 */
sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
.github-markdown-body :is(tt, code, samp, pre) {
@Phroneris
Phroneris / apng-on-github.md
Created April 17, 2023 15:22
APNG on GitHub

Uploading APNG as .apng onto the GitHub's editor causes a "We don’t support that file type" error.

On GitHub Issues:

github-issues-apng

On Gist:

gist-apng

// ==UserScript==
// @name 東方三次創作小説『水鏡』ルビ表示改善
// @namespace https://github.com/Phroneris
// @version 0.1
// @description 東方三次創作小説『水鏡』のルビ書きを右クリックメニューから真のHTMLルビに変換して読みやすくするスクリプト。
// @author 森の子リスのミーコの大冒険
// @match https://www.pixiv.net/novel/show.php?id=13611358
// @grant none
// @license public domain
// @run-at context-menu
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Minimal Theme designed by Artur Kim (http://arturkim.com) for Tumblr | version 1.5 -->
<!--
改造 by 森の子リスのミーコの大冒険(http://phroneris.com)
https://gist.github.com/Phroneris/18e55be4a38a5cc4db855e710f730da3
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{block:English}en{/block:English}{block:French}fr{/block:French}{block:German}de{/block:German}{block:Japanese}ja{/block:Japanese}{block:Italian}it{/block:Italian}{block:Spanish}es{/block:Spanish}{block:Polish}pl{/block:Polish}" lang="{block:English}en{/block:English}{block:French}fr{/block:French}{block:German}de{/block:German}{block:Japanese}ja{/block:Japanese}{block:Italian}it{/block:Italian}{block:Spanish}es{/block:Spanish}{block:Polish}pl{/block:Polish}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{block:IndexPage}{Title}{/block:IndexPage}{block:SearchPage}Search results
@Phroneris
Phroneris / howGithubMarkdownDetailsWork.md
Last active March 30, 2024 05:50
GitHubのMarkdownで折りたたみ記法の中身を整形させる方法

どうやら</summary>後の空行以降から整形される。

記述

違いは</summary>後の空行だけ。

<details>
<summary>これは中身が整形されない</summary>
1. 野菜**A**の皮を剥く。
2. 乱切りにする。