Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjbvz/vscode-github-markdown-preview-style
VS Code extension that changes the built-in markdown preview to match Github's styling
https://github.com/mjbvz/vscode-github-markdown-preview-style
Last synced: 6 days ago
JSON representation
VS Code extension that changes the built-in markdown preview to match Github's styling
- Host: GitHub
- URL: https://github.com/mjbvz/vscode-github-markdown-preview-style
- Owner: mjbvz
- License: mit
- Created: 2017-03-24T02:59:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T16:16:03.000Z (3 months ago)
- Last Synced: 2024-12-08T04:03:41.901Z (14 days ago)
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
- Size: 958 KB
- Stars: 313
- Watchers: 7
- Forks: 57
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - mjbvz/vscode-github-markdown-preview-style - VS Code extension that changes the built-in markdown preview to match Github's styling (JavaScript)
- awesome - mjbvz/vscode-github-markdown-preview-style - VS Code extension that changes the built-in markdown preview to match Github's styling (JavaScript)
- awesome - mjbvz/vscode-github-markdown-preview-style - VS Code extension that changes the built-in markdown preview to match Github's styling (JavaScript)
README
Changes VS Code's built-in markdown preview to match GitHub's styling.
![](https://github.com/mjbvz/vscode-github-markdown-preview-style/raw/master/docs/example.png)
Includes support for both light and dark GitHub themes. By default, the theme type (light vs dark) is selected based on your VS Code theme.
> **❗️ Important**: This extension only styles the Markdown preview. Use [this extension pack](https://marketplace.visualstudio.com/items?itemName=bierner.github-markdown-preview) to add support for other GitHub markdown features like `:emoji:` and `- [ ] tasklists`.
# Features
- Preview what your markdown will look like on GitHub.
- Extends VS Code's built-in markdown preview.
- Includes Github's Dark and Light themes, along with Github's dark dimmed, high contrast, and color blind accessible themes.
- Customize styling using your own [`markdown.styles`](https://code.visualstudio.com/Docs/languages/markdown#_using-your-own-css) css
- Make sure you apply your styles to the `.github-markdown-body` instead of just `body` so they don't get overridden by this extension# Usage
Please see the [VSCode Markdown Preview documentation](https://code.visualstudio.com/Docs/languages/markdown#_markdown-preview) for instructions on how to use this extension.
# Configuration
By default, this extension uses the Github theme that matches VS Code's color theme (light/dark). These settings let you further customize which Github theme the Markdown preview uses.
- `markdown-preview-github-styles.colorTheme`
Sets the color theme mode for the styling of the Markdown preview. Default: `auto`.
- `Auto (match editor)`: Automatically match the editor color theme (light/dark).
- `System`: Sync to the system/OS color theme.
- `Single theme: Light`: Always use the selected Light theme. See `markdown-preview-github-styles.lightTheme`
- `Single theme: Dark`: Always use the selected Dark theme. See `markdown-preview-github-styles.darkTheme`- `markdown-preview-github-styles.lightTheme` and `markdown-preview-github-styles.darkTheme`.
Specify the theme used when in Light/Dark mode. Only the matching setting applies when `colorTheme` is in `Single theme` mode.
Available themes:- Light - `light`
- Light high contrast - `light_high_contrast`
- Light Protanopia & Deuteranopia - `light_colorblind`
- Light Tritanopia - `light_tritanopia`
- Dark - `dark`
- Dark high contrast - `dark_high_contrast`
- Dark Protanopia & Deuteranopia - `dark_colorblind`
- Dark Tritanopia - `dark_tritanopia`
- Dark dimmed - `dark_dimmed`