Skip to content
forked from Uncodin/bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.

License

Notifications You must be signed in to change notification settings

jonathan34c/bypass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bypass (With color text and youtube video)

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.

License

Apache License v2.0

Requirements

This is the custome versino of the original * [Bypass library] (https://github.com/Uncodin/bypass). This library has fixed some bugs in the original library and added few more functions.

  1. COLOR: the library now supports colror in PHP format

    < font color="Red">this is red.

  2. EMPHASE in PARAGRAPH: If you need to emphase the entire paragraph, the original library will only show *** at the first line. In this library, you can parse the entire Paragraph with no problem.

  3. Youtube Video: Although there is no youtube functions in the markdown language, I have added a parser to parse youtube video links and disply the video using youtube Api.

Android

If you were usign Eclipse, please follow the method below:

Building And Using

If you were using android studio, here's what you can do.

  1. download the android NDK.

  2. use terminal to cd to you bypass/platform/android/library folder.

  3. type PATH=$PATH:/Users/xxx/NDK/android-ndk-xxx in the terminal (xxx are your own directory)

  4. type ndk-build in your terminal.

  5. open your android studio and add the library to your dependency as module.

  6. replace the io file in your bypass/platform/android/library/libs

  7. in android studi. add the library to your dependency from file>project structure>Dependency

  8. Copy the the Markdown.java file from the MarkdownParser folder in to your project.

iOS

Building And Using I will update how to install and usage for ios in the future.

##Usage display

we can turn markdown language in to amazing article with with 2 lines of code like these:

Markdown markdown=new Markdown();
markdown.parser(Context, markdownstring, linearlayout, activity);

and this is what you will get

3rd Party Libraries

About

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 36.7%
  • Java 22.9%
  • C++ 17.6%
  • Objective-C 16.4%
  • Objective-C++ 5.1%
  • Makefile 1.0%
  • Shell 0.3%