Giter Site home page Giter Site logo

blocky-formats's People

Contributors

dmsnell avatar

Stargazers

Brian Alexander avatar Huub avatar

Watchers

Brian Alexander avatar  avatar

blocky-formats's Issues

Code blocks are properly parsed using bgrgicak/playground-blog

I created a custom repo based on bgrgicak/playground-blog proof of concept. My repo is available at wordpress-juanmaguitar/playground-blog

in that repo I created a few markdown posts, under the posts folder, using code blocks and inline code texts

This is the link for the playground for that repo:
https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wordpress-juanmaguitar/playground-blog/main/blueprint.json

Code blocks were not properly parsed as it can be seen in the following screenshot:

Screenshot 2024-06-13 at 16 21 26

cc: @bgrgicak @adamziel

Newlines are not preserved in code blocks

I added a code block in the editor and pasted this:

 * Pair the site editor's nested iframe to the Service Worker.
 *
 * Without the patch below, the site editor initiates network requests that
 * aren't routed through the service worker. That's a known browser issue.

However, in the final markdown, I got this instead (in backtick fences):

 * Pair the site editor's nested iframe to the Service Worker. * * Without the patch below, the site editor initiates network requests that * aren't routed through the service worker. That's a known browser issue.

Nested quotes are not preserved

Try editing this comment

Nested quote

Quote

The two quotes get squished into a single code block (and each gets two extra empty lines at the end).

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.