Skip to content

Commit 004fc52

Browse files
committed
Initial commit
0 parents  commit 004fc52

17 files changed

+4061
-0
lines changed

.eslintrc.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"env": {
3+
"browser": false,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"parserOptions": {
9+
"ecmaFeatures": {
10+
"jsx": true
11+
},
12+
"sourceType": "module"
13+
},
14+
"rules": {
15+
"no-const-assign": "warn",
16+
"no-this-before-super": "warn",
17+
"no-undef": "warn",
18+
"no-unreachable": "warn",
19+
"no-unused-vars": "warn",
20+
"constructor-super": "warn",
21+
"valid-typeof": "warn"
22+
}
23+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.vscode-test/
3+
.vsix

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint"
6+
]
7+
}

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// A launch configuration that launches the extension inside a new window
2+
{
3+
"version": "0.1.0",
4+
"configurations": [
5+
{
6+
"name": "Extension",
7+
"type": "extensionHost",
8+
"request": "launch",
9+
"runtimeExecutable": "${execPath}",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11+
"stopOnEntry": false
12+
},
13+
{
14+
"name": "Extension Tests",
15+
"type": "extensionHost",
16+
"request": "launch",
17+
"runtimeExecutable": "${execPath}",
18+
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/test" ],
19+
"stopOnEntry": false
20+
}
21+
]
22+
}

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{}

.vscodeignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.vscode/**
2+
.vscode-test/**
3+
test/**
4+
.gitignore
5+
jsconfig.json
6+
vsc-extension-quickstart.md
7+
.eslintrc.json

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Change Log
2+
3+
All notable changes to the "markdown-preview-bitbucket" extension will be documented in this file.
4+
5+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6+
7+
## [Unreleased]
8+
9+
* Initial release

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Markdown Preview Bitbucket Styles
2+
3+
## Features
4+
5+
* Preview your Markdown files with Bitbucket styles
6+
* Generates a table of contents with `[TOC]` as is available on Bitbucket
7+
8+
![Markdown Preview with Bitbucket Styles](images/preview.png)
9+
10+
## Release Notes
11+
12+
### 1.0.0
13+
14+
Initial release

base.css

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
.vscode-body {
2+
padding: 15px 20px;
3+
background-color: #fff;
4+
color: #172b4d;
5+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
6+
Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
7+
font-size: 14px;
8+
font-style: normal;
9+
font-weight: 400;
10+
line-height: 1.42857142857143;
11+
letter-spacing: -0.005em;
12+
text-decoration-skip: ink;
13+
}
14+
15+
.vscode-body blockquote {
16+
background-color: initial;
17+
}
18+
19+
.vscode-body pre {
20+
color: initial;
21+
background: #f7f7f7 !important;
22+
}
23+
24+
.vscode-body code {
25+
color: inherit;
26+
}
27+
28+
.vscode-body pre code {
29+
color: initial;
30+
}
31+
32+
.vscode-body code > div {
33+
background: none;
34+
}
35+
36+
.vscode-body table th,
37+
.vscode-body table td {
38+
border: 1px solid #ddd !important;
39+
}
40+
41+
.vscode-body.showEditorSelection .code-active-line:before {
42+
border-left: 3px solid rgba(0, 0, 0, 0.15);
43+
}
44+
45+
.vscode-body.showEditorSelection .code-line:hover:before {
46+
border-left: 3px solid rgba(0, 0, 0, 0.4);
47+
}
48+
49+
.vscode-body.showEditorSelection .code-line .code-line:hover:before {
50+
border-left: none;
51+
}
52+
53+
.hljs-comment {
54+
color: #999988;
55+
font-style: italic;
56+
}
57+
58+
.hljs-emphasis {
59+
font-style: italic;
60+
color: #172b4d;
61+
}
62+
63+
.hljs-deletion {
64+
color: #000000;
65+
background-color: #ffdddd;
66+
}
67+
68+
.hljs-addition {
69+
color: #000000;
70+
background-color: #ddffdd;
71+
}
72+
73+
.hljs-strong,
74+
.hljs-keyword {
75+
font-weight: bold;
76+
color: #172b4d;
77+
}
78+
79+
.hljs-type,
80+
.hljs-class {
81+
color: #445588;
82+
font-weight: bold;
83+
}
84+
85+
.hljs-attribute {
86+
color: #008080;
87+
}
88+
89+
.hljs-function {
90+
color: #990000;
91+
font-weight: bold;
92+
}
93+
94+
.hljs-variable {
95+
color: #008026;
96+
}
97+
98+
.hljs-number {
99+
color: #009999;
100+
}
101+
102+
.hljs-regexp {
103+
color: #808000;
104+
}
105+
106+
.hljs-string,
107+
.hljs-symbol {
108+
color: #bb8844;
109+
}
110+
111+
.hljs-title,
112+
.hljs-built_in,
113+
.hljs-builtin-name {
114+
color: #999999;
115+
}
116+
117+
.hljs-tag {
118+
color: #000080;
119+
}

0 commit comments

Comments
 (0)