Comments (4)
I checked wordpress-coding-standards/php.md and it's fine. May be some escape function on backend source of developer.wordpress.org that's making print empty.
from wpcs-docs.
Hi Diogo,
Yes, I have also checked wordpress-coding-standards/php.md and all
things are fine there.
So how this problem would be solved?
Do I need to contact any team on Slack?
from wpcs-docs.
Ugh, the #39 PR did not resolve this:
It's not blank like previously it was, nevertheless will have to investigate further
Most likely. meta ticket will need to be created to add support to the markdown parser to account for this, will follow up with that shortly
cc @coffee2code
from wpcs-docs.
Meant to follow up with this yesterday. Not sure if the ticket closure is a result of this or not, but I closed out this issue as reported on meta.trac in #meta5346.
Here's what I wrote as a comment there that is relevant here:
This is an outstanding issue in general that for which the likely culprit is the SyntaxHighlighter Evolved plugin's handling of code shortcodes. Its block handling is superior and doesn't have this issue, but in this case the Code Standards Handbook is fully imported from GitHub, and thus originates as text in a Markdown format.
I believe the issue would be resolved if the source documents avoided the use of code shortcodes (e.g.
[php]
,[html]
,[css]
,[javascript]
, or[code]
) and instead used triple backticks (with optional language hinting) without pre-encoding, e.g.
```html
<div class="hfeed">
<article id="post-" class="">
<!-- ... -->
</article>
</div>
```
The Block Editor Handbook is also imported from GitHub and uses backticks (e.g. a source .md file and its resultant handbook page) which could be used for reference.
from wpcs-docs.
Related Issues (20)
- Links in CSS Coding Standards page
- WPDB to support %i in 6.1 HOT 5
- Standardize the order of the rules in the handbook
- Links in JavaScript Coding Standards page
- Broken Link
- Need to Improve Comment Color HOT 3
- Links in PHP Coding Standards page
- Links in Inline Documentation Standards page
- Link to the PHPCS rules
- Broken link on coding standards page HOT 1
- Missing Example
- Link Issue in about license page HOT 2
- Use Markdown code fence notation instead of shortcodes to denote code blocks
- Single Quotes using `'` instead of `'` HOT 3
- Removed link to WordPress PHP coding standards Page HOT 2
- Links in WordPress Coding Standards page
- Restructuring the PHP coding standards HOT 6
- Rename the main branch HOT 1
- Seperate Alignment from Indentation? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpcs-docs.