Comments (8)
Hmm, you can already use backticks:
`
code...
`
from wp-dev-lib.
Oh wow. To my surprise this already works! π
By doing: <pre lang="php">
from wp-dev-lib.
@kucrut That's what I thought too, but single backticks used to create code blocks were breaking the page when used in the FAQ tab on my WordPress.org plugin. Using them for inline code seems to work fine.
from wp-dev-lib.
I'm going to reopen this because I do think there is some slight room for improvement.
It would be cleaner if <pre lang="php">
converted to ```php in markdown.
from wp-dev-lib.
So <pre lang="php">
is part of the WP readme.txt
βstandardβ? I don't see it mentioned on https://wordpress.org/plugins/about/readme.txt
Is it a hidden feature?
from wp-dev-lib.
@westonruter Not sure if it's part of the "standard", but it does seem to work.
https://wordpress.org/plugins/prevent-concurrent-logins/faq/
from wp-dev-lib.
That's great. I was wondering how we could implement that.
from wp-dev-lib.
@fjarrett let me know how #68 works for you.
from wp-dev-lib.
Related Issues (20)
- install-pre-commit-hook.sh will error if "$(git rev-parse --git-dir)/hooks" doesn't exist HOT 1
- Format tag slugs in readme.md
- Downloading PHPUnit twice ? HOT 2
- Validate the composer.json file
- Add support for Composer
- Symlink /vendor to $LINTING_DIRECTORY
- Start versioning wp-dev-lib HOT 6
- Support the new VIP coding standards project HOT 3
- Document the pre-commit hook setup scripts
- Document examples of projects using wp-dev-lib HOT 1
- Update script paths in readme
- DEV_LIB_SKIP documentation HOT 4
- Use newer versions of PHPUnit HOT 3
- Enable MySQL on Travis using Ubuntu Xenial 16.04
- Ensure we always install the necessary version of phpunit
- Configure pre-commit hook to only run required checks. HOT 4
- On Travis: fatal: Invalid symmetric difference expression master... HOT 6
- Temporary directory causes issues when Eslint rule import/no-unresolved is used
- Provide an environment for running wp-dev-lib reliably
- Don't assume the location of PHPUnit coverage reports
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 wp-dev-lib.