Forum Replies Created

Viewing 15 replies - 1 through 15 (of 189 total)
  • Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Good news @phamcongsonit , by testing I indeed succeed reproducing the bug.

    Will be fixed in the next release, thank you for your patience

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Excellent @samuelheinrich , thank you so much for this report, I really appreciate. 🤩

    It took me a few months to prepare a new release (mostly a few refactoring with the WordPress standards). Almost done, I’ll do my best to integrate the recent feedbacks I got – including yours – in the next release. 🙂

    Thank you for your patience

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Thank you very much for the feedback @ozh and sorry for this late reply. I’ll do my best to check this as soon as I can 🙇‍♂️

    I took it as a compliment, just using some customs helpers on top of the WordPress filesystem. Last year I tried fastly to check for ftp support for exemple, didn’t go far. Yeah organic growth 🙂

    I keep you in touch, thank you for your understanding

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hello @phamcongsonit,

    Sorry for the late reply, I couldn’t reproduce the error on my side at the moment… 💦
    I’m currently trying to finish a few refactoring with WordPress standards, I’ll do my best to take a look as soon as I can. Meanwhile if you can share more information about your instance (Debug tab) that would helpfulp 👐

    Thank you for your understanding and your patience

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @connershua I hope this message finds you well.

    I haven’t heard from you for a while and I guess everything worked out so far for you so I’m gonna close this discussion. Free free to open a new one if need be.

    Kinds Regards,

    Peter

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hi @iamkingsleyf

    And thank you for using Markup Markdown. 🤝

    The information you are looking for is available from the following tutorial :
    https://www.markup-markdown.com/wordpress-tutorials/setting-custom-post-type/

    You should be able to disable the editor with the default posts / pages with the following snippet :

    add_action('init', function() {
    remove_post_type_support('post', 'markup_markdown');
    remove_post_type_support('page', 'markup_markdown');
    });

    You can either directly edit the functions.php file inside your child theme by yourself if you are familiar with web development, or add the snippet through a plugin like Code Snippets. (I haven’t tested them all by the way neither is an affiliate)

    Feel free to test and tell me if that works for you 🤲

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Thank you for the snippets @ugotta, that really helpt.
    Should be fixed with version 3.25.1 released just earlier. 🚀

    It’s a bug in a bug, I originally added a few break-lines myself to trigger properly the parser with wrongly indented HTML codes. The reason is that should cover at least 50% of copy-pasting cases and save me spending energy on support with edge cases 😇

    The “right” purpose of white-space is explained here :
    https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/white-space While making your CSS trick, you typically end up tweaking stuff on top of my own tweaks so it’s gonna be messy for sure 🫠

    That should work this time 🤞, have a wonderful day, and see you in the next loop ➿

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @ugotta 👋

    Super busy here at the moment, I appreciate the assets you linked, could you eventually share me the original markdown code as well that you use for the screenshot please ? That could save me some time. 🙇‍♂️

    Can’t promise any timeline right now, I will take a look when I can 🙏

    Take care and keep in touch 🤲

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hello @ugotta 👋

    Thank you for your feedback and for taking time to test, I really appreciate. Sorry for my late reply, I’ve released an update earlier this morning as you already figured out. I “borrowed” a patch from the beta version. What you expect by “ideal nested list” looks like specifications used with modern parser or extended syntax mode.

    EaseMDE / Parsedown / Markdown extra is a bit old and does not support properly two spaces indent style. In short as described with written specifications about raw markdown like commonmark, if you don’t use the recommended four spaces indent style, for nested ordered list to be properly rendered you will have to use at least 3 real spaces. 🙏 Ex:
    https://stackblitz.com/edit/easymde-etabp7m4?file=index.html

    EasyMDE by default was smartly set as a tab character indent style with a size of “2 spaces”. The behavior is the same as a real tab character so actually for a new list, a tab character is indeed used but it looks like as the width of 2 spaces in size on the admin edit screen. That’s still the better solution at the moment to indent properly nested unordered and ordered list with the tab key without headaches 🤠

    I’m gonna add a note / warning on the settings screen later, I understand about your “ideal unified spaces”, please forget it for now as it’s gonna be for a late release, not today, not tomorrow. 🙇‍♂️ If the current version is still not convenient for you, I won’t be able to do better at the moment. 💦 I can unfortunately advise you to drop completely Markup Markdown in favor of JetPack markdown or trying something completely different from WordPress 🤲

    Thank you for your understanding, and hope that this can work for you

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    👋 @ugotta

    No problems at all, glad if half of your issues were fixed 👍 🚀

    About the TODO list, I’m happy to announce you that I’ve just released version 3.24.0 that should bring the feature you are looking for. 🎸 Far from being perfect but that should work properly :
    https://mega.nz/file/18lxAKLL#5j2_NMZ0gMndyRI-X6HGv3gRjXWSFrievjtjJcUrbCU

    Indeed as you pointed out it was available on the markdown editor from the admin screen but the checkboxes were not rendered on the front-end. Please not that this could happen with other features as well. 💦

    The plugin does not support every functionality from the “extended” version of markdown. The HTML rendering parser engine used on the back-end is based on the flavor / superset called “Markdown Extra” that does not support this feature by default, sorry. I could make it happen this time, I can’t promise I would be able to do it next time 🤞

    Please upgrade to version 3.24.0 and give it a try when you can, kind regards

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    FYI if you want to turn on / off or customize the HTML sanitize filter, I updated the article on the Markup Markdown website :
    https://www.markup-markdown.com/wordpress-tutorials/enable-styles-scripts-post-content/

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    👋 @connershua,

    Fixed with the new version 3.23.0. 🥳 Actually it’s related to WordPress security features. I added the missing protocols to the white list, you can do it on your own with this kind of snippet for example :

    add_filter( 'kses_allowed_protocols', ( $protocols ) {
    $protocols[] = 'macappstores'; // Add the 'macappstores' protocol
    return $protocols;
    });

    As other users may want to use those links, it’s nice to make it available by default. Feel free to open new topics in the future and I will update the white list when needed.

    Kind regards,

    Peter

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @ugotta, following a conversation we had previously, the markdown editor is based on EasyMDE and is using the standard coding setup of 4 spaces (or 1 tab) by default to indent items. This is the default cross-platform recommendation as 4 spaces is almost the same size as one tab. 🖖

    The PHP parser is a bit different but won’t handle correctly nested lists as well if you mix spaces. I won’t fix it ’cause I would have to update the parser itself or add more filters on the input. 💦

    I guess the issue you described is probably related to the O2 plugin / theme bundled with its own parsers / filters on top of that, isn’t it ? From what I quickly tested and checked from the source code, you have to use 1 space (or 1 tab ?) with O2 to make nested list. It’s not related to markdown at all because it’s not markdown, it’s a custom tiny markup language for project management and team discussion. Mixed with a markdown plugin.

    The other issue I suppose, as we talked in another topic as well, you are still copy-pasting results generated from machine (AI ?) I guess. It’s not pure markdown as well and I don’t have a ready2use solutions inside the markdown editor because it’s not really predictable from a code point of view.

    Somewhere in you workflow you need at least those 2 filters :
    – Adding 2 spaces at the end of the line where you want to do a breakline (<br>)
    – Convert / Indent your code in an easier way (full 1 tab ?)
    – more ?
    If this is predictable, you can try make a custom output filter, by experience results using 3 or more levels of nested text items just need a rephrase, isn’t it ? 🫣

    Hard to answer properly without knowing more 🫠

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hello @ugotta 👋

    I hope this message finds you well, it’s been a while.
    My bad, of course the features you mentioned are still supported 🤲 This bug was introduced with the recent HTML sanitize filters added recently for security reasons. 💦

    Could you please upgrade to the latest version 3.23.0 I’ve just released earlier this morning ?

    1. The links anchor that were stripped have been restore in the footnotes links, tested with one classic and one Gutenberg theme, it should work properly from now on 👌
    2. The missing checkboxes have been restored as well with the TODO list items (This is related to the O2 Plug isn’t it ?)

    Feel free to give it a try when you can, kind regards

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @lfitzhugh I hope this message finds you well, I haven’t heard from you for a while so I’m closing this discussion. Feel free to start a new topic if need be.

    Kind Regards,

    Peter

Viewing 15 replies - 1 through 15 (of 189 total)