All Projects → mukeshsolanki → Markdownview Android

mukeshsolanki / Markdownview Android

Licence: mit
MarkdownView is an Android webview with the capability of loading Markdown text or file and display it as HTML, it extends Android webview.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Markdownview Android

Markdown-Crash-Course
Markdown Crash Course. Learn Markdown language on a simple way.
Stars: ✭ 100 (-76.85%)
Mutual labels:  readme, md
Markdown Toc
Generate a markdown TOC (table of contents) for a README or any markdown files, using remarkable. Used by assemble, verb, and lots of other projects on GitHub. API and CLI.
Stars: ✭ 1,185 (+174.31%)
Mutual labels:  readme, md
Github Markdown Toc.go
Easy TOC creation for GitHub README.md (in go)
Stars: ✭ 387 (-10.42%)
Mutual labels:  readme
Awesome Readme Templates
A collection of awesome readme templates to display on your github profile.
Stars: ✭ 423 (-2.08%)
Mutual labels:  readme
Gradle Static Analysis Plugin
Easy setup of static analysis tools for Android and Java projects.
Stars: ✭ 398 (-7.87%)
Mutual labels:  gradle
Gradle Maven Publish Plugin
Gradle plugin that configures an uploadArchives task to automatically upload all of your Java, Kotlin or Android libraries to any Maven instance.
Stars: ✭ 392 (-9.26%)
Mutual labels:  gradle
Resizer
An image resizing library for Android
Stars: ✭ 406 (-6.02%)
Mutual labels:  gradle
Retrofit2demo
Stars: ✭ 378 (-12.5%)
Mutual labels:  gradle
Gradle Plugin User Guide Chinese Verision
Gradle Plugin User Guide 中文翻译
Stars: ✭ 426 (-1.39%)
Mutual labels:  gradle
Dryrun
☁️ Try the demo project of any Android Library
Stars: ✭ 3,845 (+790.05%)
Mutual labels:  gradle
Talaiot
Simple and extensible plugin to track task times in your Gradle Project.
Stars: ✭ 415 (-3.94%)
Mutual labels:  gradle
Standard Readme
A standard style for README files
Stars: ✭ 4,412 (+921.3%)
Mutual labels:  readme
Ms Backend Boilerplates
Boilerplate for Your Server Side(Backend) Application, Java | Spring(Boot, Cloud) | Node.js(Express, Koa, Egg) | Go | Python | DevOps 💫 服务端项目模板
Stars: ✭ 394 (-8.8%)
Mutual labels:  gradle
Assemble
Community
Stars: ✭ 3,995 (+824.77%)
Mutual labels:  md
Waka Readme
Wakatime Weekly Metrics on your Profile Readme.
Stars: ✭ 386 (-10.65%)
Mutual labels:  readme
Make A Readme
📄 Because nobody can read your mind (yet)
Stars: ✭ 426 (-1.39%)
Mutual labels:  readme
Pantheon
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client
Stars: ✭ 383 (-11.34%)
Mutual labels:  gradle
Drawer Behavior
Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
Stars: ✭ 394 (-8.8%)
Mutual labels:  gradle
Github Profile Readme Generator
🚀 Generate GitHub profile README easily with the latest add-ons like visitors count, GitHub stats, etc using minimal UI.
Stars: ✭ 7,812 (+1708.33%)
Mutual labels:  readme
Gradle Xcodeplugin
gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Stars: ✭ 430 (-0.46%)
Mutual labels:  gradle

MarkdownView



MarkdownView is a simple library that helps you display Markdown text or files on Android as a html page just like Github.

Demo

Supporting MarkdownView

MarkdownView is an independent project with ongoing development and support made possible thanks to donations made by these awesome backers. If you'd like to join them, please consider:

Getting started

Its really simple to integrate MarkdownView in android. All you need to do make the following change to you build gradle under the app module.

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Step 2. Add the dependency

dependencies {
    implementation 'com.github.mukeshsolanki:MarkdownView-Android:<latest-version>'
}

How to use MarkdownView

Its fairly simple and straight forward to use MarkdownView in you application. Just add the following in your layout where you want to display the markdown file/text.

<com.mukesh.MarkdownView
    android:id="@+id/markdown_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
/>

and reference it in your activity/fragment and assign the markdown text/file like wise.

MarkdownView markdownView = (MarkdownView) findViewById(R.id.markdown_view);
markdownView.setMarkDownText("# Hello World\nThis is a simple markdown"); //Displays markdown text
...
markdownView.loadMarkdownFromAssets("README.md"); //Loads the markdown file from the assets folder
...
File markdownFile=new File("filePath");
markdownView.loadMarkdownFromFile(markdownFile); //Loads the markdown file.

Author

Maintained by Mukesh Solanki

Contribution

GitHub contributors

License

Copyright (c) 2018 Mukesh Solanki

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].