MarkedView


Source link: https://github.com/mittsuu/MarkedView-for-Android

MarkedView Example

Introduction

The MarkedView is the markdown text viewer.

Usage

It is a simple module, which enable you to convert any files into initialized view.

// xml <com.mittsu.markedview.MarkedView
  android:id="@+id/md_view"
  android:layout_width="match_parent"
  android:layout_height="match_parent"/> 
// Java code  import com.mittsu.markedview.MarkedView;  ???  // call from xml MarkedView mdView = (MarkedView)findViewById(R.id.md_view);
 // call from code // MarkedView mdView = new MarkedView(this);
  // set markdown text pattern. ('contents' object is markdown text) mdView.setMDText(contents);
  // load Markdown file pattern. // mdView.loadFile(filePath) 
/* option */  // code block in scrolling be deactivated. mdView.setCodeScrollDisable();
 

Demo

  • Load file

Read markdown file from asset folder.

  • Live rendering

Preview display on the right side of the input field.

Installation

Add the dependency

dependencies {

  compile 'com.mittsu:markedview:1.0.5@aar' 
}

See Also

Credits

This used the following open source components.

Marked : Markdown parser written in JavaScript

highlight.js : Syntax highlighting for the Web

License

MarkedView is available under the MIT license. See the LICENSE file for more info.

Resources

DebugOverlay is an Android library that allows developers to easily add custom overlay window/view for debugging purpose.

You can use it to show some performance related metrics such as cpu, memory, and fps. Or you can show logcat messages within your app for light debugging.

This library is fully customizable in terms of what you can show on the overlay. If you want to show something other than what's being provided, please go ahead and create your own overlay module!

The library is a meaningful alternative to a standard Switch widget.

Sosoito is layout library for Android that can be used to simplify basic needs for loading/progression state.

Grav is a library for android which allow you to make multiple animations based on points

Android library designed for rapid and customizable form validation.

You can use FormValidator with any View that extends the original EditText (such as MaterialEditText for example).

This library offers an easy way to handle authentication and encryption using Android Fingerprint APIs.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes