Giter Site home page Giter Site logo

markdownview's People

Contributors

bares43 avatar nedlanon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

markdownview's Issues

Is it possible to set the theme via Styles from a Resource Dictionary

I can see that you can set the theme via the bindable property MarkdownView.Theme which is great.

The issue comes when handling your application wide light/dark theme.
Currently I use the method of a Resource Dictionary using Styles and AppThemeBinding which appears to be the path Xamarin is suggesting now. I cannot see how I can use a Resource Dictionary and Styles to theme the MarkdownView.

My aim is for all "theme" management to be implemented using the Resource Dictionary/Styles method.
Is that at all possible with MarkdownView?

Thanks in advance.
Chris ....

raises System.Reflection.TargetInvocationException

This one was hard to resolve as you don't get much more detail but I believe I found the issue.

  1. Start with a standard Xamarin Forms new app.
  2. Add your nuGet which is currently v1.5.2 and I note you have a dependancy on Markdig >=0.15.0.
  3. Follow your sample doco and add MarkdownView to a page. If you spin up the app the page renders fine with your control.
  4. Now add the nuGet Markdig which is at v0.25.0.
  5. Spin up the app and when you nav to the page with the MarkdownView control you will get the exception.
  6. Remove the Markdig nuGet and error goes away.

I assume following those steps the latest nuGet of Markdig is in play and there is a breaking change that MarkdownView does not like.

For me this is not a big issue as I can use the version of Markdig pulled in by the MarkdownView but one day v0.15.0 of Markdig may be simply too old.

This error occurs on both iOS and Droid platforms.

Let me know if you require further details.
Regards
Chris ...

Consider setting of theme

  • Currently there is property Global and Theme, both of MarkdownTheme
  • Maybe the Global one should be remove?

Documentation

Basics

  • How to use this plugin
  • How to set theme
  • New README
  • How this plugin works (mention markdig)

Theme

  • Margin
  • VerticalSpacing
  • UseEmojiAndSmileyExtension

Links

  • YouTube preview
  • Autolinks
  • TapHandler
  • External protocols

Custom video preview parser

Ability to create own parser of video links so it will be possible to show previews of video on other services, not only YT.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.