Skip to content

Commit beef184

Browse files
author
Mark Vincent
committed
0.2 BETA Pre-release
1 parent 5c4c7e0 commit beef184

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
lines changed

README.md

+38-6
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,44 @@
1-
# BB Code Helper 0.1
1+
# BB Code Helper 0.2
22

3-
Adds a context submenu to tag code, quotes, images, and links as BB Code to be pasted into forum posts.
3+
Adds a context submenu to tag code, quotes, images, and links as BB Code or Markdown.
44

55
## Options
66

77
You may configure how many line breaks you would like inserted between tags when using `Multi-Mode`
88

99
## Quoting
1010

11-
Highlight text and choose `Quote Selection` from the `BB Code Helper` context submenu to copy the text as a forum quote using BB Code
11+
Highlight text and choose `Quote Selection` from the `BB Code Helper` context submenu to copy the text as a forum quote using BB Code or Markdown.
1212

1313
```
1414
[quote]{selection}[/quote]
1515
```
1616

17+
OR
18+
19+
```
20+
> {selection}
21+
```
22+
1723
## Code Blocks
1824

19-
Highlight text and choose `Copy As Code` from the `BB Code Helper` context submenu to copy the text as a code block using BB Code
25+
Highlight text and choose `Copy As Code` from the `BB Code Helper` context submenu to copy the text as a code block using BB Code or Markdown.
2026

2127
```
2228
[code]{selection}[/code]
2329
```
2430

31+
OR
32+
33+
```
34+
``` 
35+
{selection}
36+
``` 
37+
```
38+
2539
## Links
2640

27-
Right click a link and select `Tag Link` from the `BB Code Helper` context submenu to copy a BB Code representation of the link to the clipboard. If there is text inside the `<a/>`, it will be used as a caption for the BB Code, if not, the simple version will be used.
41+
Right click a link and select `Tag Link` from the `BB Code Helper` context submenu to copy a BB Code representation of the link to the clipboard. If there is text inside the `<a/>`, it will be used as a caption for the BB Code or Markdown, if not, the simple version will be used.
2842

2943
```
3044
[url={URL}]{Caption}[/url]
@@ -34,20 +48,38 @@ OR
3448
[url]{URL}[/url]
3549
```
3650

51+
OR
52+
53+
```
54+
[{caption}]({url})
55+
```
56+
3757
## Images
3858

39-
Right click an image and select `Tag Image` or `Tag Image With Link` from the `BB Code Helper` context submenu to copy a BB Code representation of the image to the clipboard.
59+
Right click an image and select `Tag Image` or `Tag Image With Link` from the `BB Code Helper` context submenu to copy a BB Code or Markdown representation of the image to the clipboard.
4060

4161
```
4262
[img]{image URL}[/img]
4363
```
4464

65+
OR
66+
67+
```
68+
![]({url})
69+
```
70+
4571
If tagging the image and the link (if any), the link will be wrapped in `url` BB Code.
4672

4773
```
4874
[url={link URL}][img]{image URL}[/img][/url]
4975
```
5076

77+
OR
78+
79+
```
80+
[![]({image URL})]({link URL})
81+
```
82+
5183
## Multi-Mode
5284

5385
In this mode, tags are appended to the clipboard, rather than replacing the current clipboard content (default)

_locales/en/messages.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66

77
"extensionDescription": {
8-
"message": "Adds a context submenu to tag quotes, images, and links as BB Code to be pasted into forum posts.",
8+
"message": "Adds a context submenu to tag quotes, images, and links as BB Code or Markdown",
99
"description": "Description of the add-on."
1010
},
1111

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extensionName__",
44
"description": "__MSG_extensionDescription__",
5-
"version": "0.1",
5+
"version": "0.2",
66
"default_locale": "en",
77
"homepage_url": "https://github.com/WildcardSearch/BB-Code-Helper",
88

0 commit comments

Comments
 (0)