Skip to content

Commit

Permalink
feat(markdown): Markdown support (#326)
Browse files Browse the repository at this point in the history
* feat(markdown): Implement Markdown component and use it for README files

* fix(markdown): flagrant copy/paste case

* feat(md): s/MarkDown/MarkdownWebview/, add MarkdownHtmlview for comments

* fix(md): add missing emojis file

* feat(markdown): convert todos items into checkboxes

Fix #276

* feat(markdown): Support linking to issue/username <span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_64.png);background-position:41.66666666666667% 4.166666666666667%;background-size:4900%" data-codepoints="1f525"></span></span><span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_64.png);background-position:41.66666666666667% 4.166666666666667%;background-size:4900%" data-codepoints="1f525"></span></span>

* refactor(markdown): clean up the implementation and use strategy pattern

* feat(markdown): Big clean up, introduced experimental table support

* feat(markdown): Better table support, clean up api

* feat(markdown): Support syntax highlighting, fix Android compat

* feat(markdown): rename components to match RN naming style

* fix(markdown): use RAW url to get correct content-types for images

* fix(markdown): Code cleanup

* fix(markdown): Embed OpenSans-Italic.ttf, use bundled CSS file (android)
  • Loading branch information
machour authored and Houssein Djirdeh committed Sep 17, 2017
1 parent e2439e8 commit 2b09dc7
Show file tree
Hide file tree
Showing 14 changed files with 2,731 additions and 169 deletions.
700 changes: 700 additions & 0 deletions android/app/src/main/assets/css/github-markdown.css

Large diffs are not rendered by default.

Binary file not shown.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"fuzzy-search": "^1.4.0",
"lodash.uniqby": "^4.7.0",
"lowlight": "^1.5.0",
"marked": "^0.3.6",
"md5": "^2.2.1",
"moment": "^2.17.1",
"node-emoji": "^1.7.0",
Expand All @@ -52,6 +53,7 @@
"react": "16.0.0-alpha.12",
"react-native": "0.48.1",
"react-native-actionsheet": "^2.2.0",
"react-native-app-intro": "^1.1.5",
"react-native-code-push": "^5.0.0-beta",
"react-native-communications": "^2.2.1",
"react-native-config": "^0.6.0",
Expand All @@ -64,8 +66,8 @@
"react-native-photo-view": "^1.4.0",
"react-native-safari-view": "^2.0.0",
"react-native-search-bar": "^3.0.0",
"react-native-app-intro": "^1.1.5",
"react-native-syntax-highlighter": "^1.2.1",
"react-native-table-component": "^1.0.5",
"react-native-vector-icons": "^4.0.0",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.2",
Expand Down
Loading

0 comments on commit 2b09dc7

Please sign in to comment.