Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different conversion from DaringFireball and Commonmark compared to Gith-Hub #16

Open
carloBarazzetta opened this issue Jul 20, 2021 · 6 comments

Comments

@carloBarazzetta
Copy link

First of all, congratulations for the library.
I integrated it in this project:
https://github.com/EtheaDev/MarkdownShellExtensions
to be able to edit .md files with an editor and have a preview in Windows Explorer.
Using files edited in Git-Hub I noticed that using the Commonmark dialect I can render the tables correctly but not the notes.
Using the DaringFireball dialect the tables are no longer rendered correctly but the notes are correct.
Is it not possible to use a "mix" of the two dialects to obtain the same rendering that is obtained in Git-Hub?

Here an example with CommonMark:
image
Here an example with DaringFireball:
image

thank you.
Carlo

@pyscripter
Copy link

Unlike mdDaringFireball, mdCommonMark seems to make no attempt to handle html tags.

@carloBarazzetta
Copy link
Author

Hy Kiriakos Vlahos: how are you!
I've made a new repo for an enhanced markdown processor here:
(https://github.com/EtheaDev/MarkdownProcessor)[https://github.com/EtheaDev/MarkdownProcessor]

With this processor, I've integrated more functionalities, like html tags, as you can see here:

Image

My Projects:

I hope it can be useful to you!
bye
Carlo

@pyscripter
Copy link

@carloBarazzetta Hi Carlo.
This is great!! You did your magic again!

I am doing well. Busy mainly with SynEdit, P4D and PyScripter.

Still using your SvgIconImageList in ernest!

@carloBarazzetta
Copy link
Author

Good News, if you are "upgrading" SynEdit, I need two options to include in my Editors (MDTextEditor, SVGTextEditor, LottieTextEditor)...

  1. Word-wrap option
  2. Highlighter for MarkDown files
    Are you working on it?
    bye
    Carlo

@pyscripter
Copy link

pyscripter commented Feb 5, 2025

  1. Word-wrap option
  2. Highlighter for MarkDown files

SynEdit has always supported Word Wrap. A Markdown highlighter would be highly desirable. It is planned. But what I have is a SynEdit based markdown viewer. However converting to HTML and showing in a browser is better.

@carloBarazzetta
Copy link
Author

carloBarazzetta commented Feb 5, 2025

In my MarkdownTextEditor you can write markdown and see an immediate preview of the content ;-)

Image

To view the content I'm using HTMLViewer component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants