niszetの日記

細かい情報を載せていくブログ

シンタックスハイライト用の文字コードが入ったPandocのreference.docxに含まれるスタイルの一覧

書いたと思ったけどなかったので。

結果だけ示すと下記のようになっています。これはofficer::styles_infoで取得できます。今後変更されるかもしれませんが、今はこうなってるはずです。編集するとidは変わりますが。

   style_type             style_id             style_name is_custom is_default
1   paragraph               Normal                 Normal     FALSE       TRUE
2   paragraph             BodyText              Body Text     FALSE      FALSE
3   paragraph       FirstParagraph        First Paragraph      TRUE      FALSE
4   paragraph              Compact                Compact      TRUE      FALSE
5   paragraph                Title                  Title     FALSE      FALSE
6   paragraph             Subtitle               Subtitle     FALSE      FALSE
7   paragraph               Author                 Author      TRUE      FALSE
8   paragraph                 Date                   Date     FALSE      FALSE
9   paragraph             Abstract               Abstract      TRUE      FALSE
10  paragraph         Bibliography           Bibliography     FALSE      FALSE
11  paragraph             Heading1              Heading 1     FALSE      FALSE
12  paragraph             Heading2              Heading 2     FALSE      FALSE
13  paragraph             Heading3              Heading 3     FALSE      FALSE
14  paragraph             Heading4              Heading 4     FALSE      FALSE
15  paragraph             Heading5              Heading 5     FALSE      FALSE
16  paragraph             Heading6              Heading 6     FALSE      FALSE
17  paragraph             Heading7              Heading 7     FALSE      FALSE
18  paragraph             Heading8              Heading 8     FALSE      FALSE
19  paragraph             Heading9              Heading 9     FALSE      FALSE
20  paragraph            BlockText             Block Text     FALSE      FALSE
21  paragraph         FootnoteText          Footnote Text     FALSE      FALSE
22  character DefaultParagraphFont Default Paragraph Font     FALSE       TRUE
23      table                Table                  Table     FALSE       TRUE
24  paragraph       DefinitionTerm        Definition Term      TRUE      FALSE
25  paragraph           Definition             Definition      TRUE      FALSE
26  paragraph              Caption                Caption     FALSE      FALSE
27  paragraph         TableCaption          Table Caption      TRUE      FALSE
28  paragraph         ImageCaption          Image Caption      TRUE      FALSE
29  paragraph               Figure                 Figure      TRUE      FALSE
30  paragraph      CaptionedFigure       Captioned Figure      TRUE      FALSE
31  character         BodyTextChar         Body Text Char      TRUE      FALSE
32  character         VerbatimChar          Verbatim Char      TRUE      FALSE
33  character        SectionNumber         Section Number      TRUE      FALSE
34  character    FootnoteReference     Footnote Reference     FALSE      FALSE
35  character            Hyperlink              Hyperlink     FALSE      FALSE
36  paragraph           TOCHeading            TOC Heading     FALSE      FALSE
37  paragraph           SourceCode            Source Code      TRUE      FALSE
38  character           KeywordTok             KeywordTok      TRUE      FALSE
39  character          DataTypeTok            DataTypeTok      TRUE      FALSE
40  character            DecValTok              DecValTok      TRUE      FALSE
41  character             BaseNTok               BaseNTok      TRUE      FALSE
42  character             FloatTok               FloatTok      TRUE      FALSE
43  character          ConstantTok            ConstantTok      TRUE      FALSE
44  character              CharTok                CharTok      TRUE      FALSE
45  character       SpecialCharTok         SpecialCharTok      TRUE      FALSE
46  character            StringTok              StringTok      TRUE      FALSE
47  character    VerbatimStringTok      VerbatimStringTok      TRUE      FALSE
48  character     SpecialStringTok       SpecialStringTok      TRUE      FALSE
49  character            ImportTok              ImportTok      TRUE      FALSE
50  character           CommentTok             CommentTok      TRUE      FALSE
51  character     DocumentationTok       DocumentationTok      TRUE      FALSE
52  character        AnnotationTok          AnnotationTok      TRUE      FALSE
53  character        CommentVarTok          CommentVarTok      TRUE      FALSE
54  character             OtherTok               OtherTok      TRUE      FALSE
55  character          FunctionTok            FunctionTok      TRUE      FALSE
56  character          VariableTok            VariableTok      TRUE      FALSE
57  character       ControlFlowTok         ControlFlowTok      TRUE      FALSE
58  character          OperatorTok            OperatorTok      TRUE      FALSE
59  character           BuiltInTok             BuiltInTok      TRUE      FALSE
60  character         ExtensionTok           ExtensionTok      TRUE      FALSE
61  character      PreprocessorTok        PreprocessorTok      TRUE      FALSE
62  character         AttributeTok           AttributeTok      TRUE      FALSE
63  character      RegionMarkerTok        RegionMarkerTok      TRUE      FALSE
64  character       InformationTok         InformationTok      TRUE      FALSE
65  character           WarningTok             WarningTok      TRUE      FALSE
66  character             AlertTok               AlertTok      TRUE      FALSE
67  character             ErrorTok               ErrorTok      TRUE      FALSE
68  character            NormalTok              NormalTok      TRUE      FALSE