command-line plugin not showing data-user and data-host
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
Hi all,
first of all thank you for this great product!
I'm happily using prismjs since version 1.10.0, but with 1.15.0 i'm facing some glitches on command-line plugin.
After some digging i found that command line plugin 1.13.0 is working as expected but 1.14.0 not (probably my mistake).
<pre class="command-line" data-title="command line" data-user="matteo" data-host="portable" data-output="2-99">
<code class="language-bash">
du -sh * | sort -h | tail
6.0M upload
8.5M contratti
11M accettazione
12M report
14M copia.tar.gz
18M fatturazione
21M admin
22M amministrazione
23M reparti
198M codifica
</code>
</pre>
In
that with 1.13.0 command-line plugin:

with 1.14.0:

As you can see i exaggerate the output line value (99) to simply add lines without to worry to increment the value.
If you want to check the initialization, the syntax, etc. you can use http://matteo.contri.net/rifattorizzazione-software-php as reference (sorry is in Italian).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied
reproducer and compare command-line plugin 1.13.0 with 1.14.0, focusing on data-user and data-host rendering. Check the linked reference page and verify the result against both screenshots; done when those attributes appear in 1.14.0 without changing the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100