West Wind Internet and Client Tools
ideas for the new version
Gravatar is a globally recognized avatar based on your email address. ideas for the new version
  Zdenek Krejcí
  All
  Aug 16, 2021 @ 01:11am

I have two ideas for future version:

  • Use current versin of Markdig library, which has support of tables etc.
  • create wrapper for some modern browser inside vfp form. Something like VFPCefSharp. I think, that Chromium WebView2 should be better.

Thank You Zdenek

Gravatar is a globally recognized avatar based on your email address. re: ideas for the new version
  Rick Strahl
  Zdenek Krejcí
  Aug 16, 2021 @ 10:25am
  1. The existing version of Markdig has support for tables etc. (see CreateParser())
  2. Nope - not gonna do it. Too complex to maintain - too unstable in VFP

Reason I'm not using newer versions of Markdig is that newer versions pull in additional dependencies for .NET Standard 2.0 compatibility which adds to files that need to be deployed.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: ideas for the new version
  Zdenek Krejcí
  Rick Strahl
  Aug 17, 2021 @ 01:14am

Thanks Rick.

  1. Yes, tables in MarkdownParser really works. I used to test with the {.} attribute before table and that's why it didn't work for me:
{border=1}
| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |
  1. It's clear. I know you have a lot of experience in this area

Zdenek

Gravatar is a globally recognized avatar based on your email address. re: ideas for the new version
  Rick Strahl
  Zdenek Krejcí
  Aug 18, 2021 @ 10:20am

Let's see if this table renders:

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

Indeed it does.

Gravatar is a globally recognized avatar based on your email address. re: ideas for the new version
  Zdenek Krejcí
  Rick Strahl
  Aug 19, 2021 @ 01:11am

I think you forgot to mark the table as source code, so it was generated directly in your text.

Tables without additional attributes work for me and that's enough for me.

Thank you

Zdenek

Gravatar is a globally recognized avatar based on your email address. re: ideas for the new version
  Rick Strahl
  Zdenek Krejcí
  Aug 19, 2021 @ 08:07am

I think you forgot to mark the table as source code, so it was generated directly in your text.

No that was the idea 😄

+++ Rick ---

© 1996-2024