├── LICENSE.txt
├── Preferences
├── Font Name and Size.tmPreferences
├── Heading 1 Font Size.tmPreferences
├── Heading 2 Font Size.tmPreferences
├── Heading 3 Font Size.tmPreferences
├── Heading 4 Font Size.tmPreferences
├── Heading 5 Font Size.tmPreferences
├── Heading 6 Font Size.tmPreferences
├── Headings Font Name Inherited.tmPreferences
├── Headings Hash Font Size.tmPreferences
└── Raw Font Name and Size.tmPreferences
├── README.md
└── info.plist
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (C) 2016 by Mike McQuaid
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/Preferences/Font Name and Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Font Name and Size
7 | scope
8 | text.html.markdown
9 | settings
10 |
11 | fontName
12 | San Francisco
13 | fontSize
14 | 1.1em
15 |
16 | uuid
17 | FB5AC213-8C29-425A-8134-FD731C66A16E
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Preferences/Heading 1 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 1 Font Size
7 | scope
8 | markup.heading.1.markdown
9 | settings
10 |
11 | fontSize
12 | 2em
13 |
14 | uuid
15 | C2E34B3B-7672-4080-837B-39C639840707
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Heading 2 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 2 Font Size
7 | scope
8 | markup.heading.2.markdown
9 | settings
10 |
11 | fontSize
12 | 1.5em
13 |
14 | uuid
15 | 6B09CADC-EC58-453D-B9B3-ED30CE26CCF8
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Heading 3 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 3 Font Size
7 | scope
8 | markup.heading.3.markdown
9 | settings
10 |
11 | fontSize
12 | 1.17em
13 |
14 | uuid
15 | 974C7F72-3026-4FCE-B101-AEA9678F48B9
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Heading 4 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 4 Font Size
7 | scope
8 | markup.heading.4.markdown
9 | settings
10 |
11 | fontSize
12 | 1em
13 |
14 | uuid
15 | 519EA1C8-558F-4B3D-97C0-71988FA779FD
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Heading 5 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 5 Font Size
7 | scope
8 | markup.heading.5.markdown
9 | settings
10 |
11 | fontSize
12 | 0.83em
13 |
14 | uuid
15 | B24F3166-6D7E-464A-9E19-A63B2BB5B4EA
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Heading 6 Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Heading 6 Font Size
7 | scope
8 | markup.heading.6.markdown
9 | settings
10 |
11 | fontSize
12 | 0.67em
13 |
14 | uuid
15 | B0F3AEF3-78DD-46E1-8736-23C9668D5690
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Headings Font Name Inherited.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Headings Inherit Font Name
7 | scope
8 | entity.name.section.markdown
9 | settings
10 |
11 | fontName
12 | inherit
13 |
14 | uuid
15 | 25ACF9C8-C803-4B2A-A236-08563C3C0AEA
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Headings Hash Font Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Headings Hash Font Size
7 | scope
8 | punctuation.definition.heading.markdown
9 | settings
10 |
11 | fontSize
12 | 1em
13 |
14 | uuid
15 | 3C768C7F-41E8-4E64-A067-61F227828371
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Preferences/Raw Font Name and Size.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Raw Font Name and Size
7 | scope
8 | markup.raw.block, markup.raw, meta.raw.block, markup.raw.inline
9 | settings
10 |
11 | fontName
12 | Menlo
13 | fontSize
14 | 95%
15 |
16 | uuid
17 | 0A70B5FF-6962-41BF-945E-D0FFFD819F59
18 |
19 |
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GitHub-Markdown-Font-Settings.tmbundle
2 | Provides nicer fonts for the [GitHub Flavoured Markdown for TextMate bundle](https://github.com/mikemcquaid/GitHub-Markdown.tmbundle]).
3 |
4 | ## Features
5 | - Use San Francisco for the Markdown editor font and make it match the preview size
6 | - Use Menlo for the Markdown editor monospaced text font and make it match the preview size
7 | - Use the default font size for the Markdown editor hash/pound prefix
8 | - Render all Markdown editor headings the same relative size and font as in the preview
9 |
10 | ## Installation
11 | Check "Markdown (GitHub) Font Settings" in TextMate 2's Preferences' Bundles.
12 |
13 | Alternatively:
14 | ```bash
15 | mkdir -p ~/Library/Application\ Support/TextMate/Bundles
16 | cd ~/Library/Application\ Support/TextMate/Bundles
17 | git clone https://github.com/mikemcquaid/GitHub-Markdown-Font-Settings.tmbundle
18 | ```
19 |
20 | ## Status
21 | The above features are tested and working for my day-to-day.
22 |
23 | Tested using TextMate 2. May work in TextMate 1 or Sublime Text; I've no idea.
24 |
25 | [Patches welcome](https://github.com/mikemcquaid/GitHub-Markdown-Font-Settings.tmbundle/pulls).
26 |
27 | ## Contact
28 | [Mike McQuaid](mailto:mike@mikemcquaid.com)
29 |
30 | ## License
31 | GitHub-Markdown-Font-Settings.tmbundle is licensed under the [MIT License](http://en.wikipedia.org/wiki/MIT_License). The full license text is
32 | available in
33 | [LICENSE.txt](https://github.com/mikemcquaid/GitHub-Markdown-Font-Settings.tmbundle/blob/master/LICENSE.txt).
34 |
--------------------------------------------------------------------------------
/info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | contactEmailRot13
6 | zvxr@zvxrzpdhnvq.pbz
7 | contactName
8 | Mike McQuaid
9 | description
10 | GFM body, heading and raw font styling.
11 | name
12 | Markdown (GitHub) Font Settings
13 | uuid
14 | 91ABC535-7C8F-46B0-92E0-570A73450604
15 |
16 |
17 |
--------------------------------------------------------------------------------