bug(plugin): command-line data-filter-out not working
See original GitHub issueI’m trying to get this to work:
<pre class="command-line language-bash" data-filter-output="(out)" data-user="user" data-host="remotehost">
<code>
pwd
(out)/usr/home/user/bin
ls -la
(out)total 2
(out)drwxr-xr-x 2 user group 11 Jan 10 16:48 .
(out)drwxr--r-x 45 user group 92 Feb 14 11:10 ..
(out)-rwxr-xr-x 1 user group 444 Aug 25 2013 backup
(out)-rwxr-xr-x 1 user group 642 Jan 17 14:42 deploy
</code>
</pre>
I’m loading the core and plugins like this:
import 'prismjs/prism.js';
import 'prismjs/plugins/unescaped-markup/prism-unescaped-markup.min.js';
import 'prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.min.js';
import 'prismjs/plugins/autolinker/prism-autolinker.min.js';
import 'prismjs/plugins/command-line/prism-command-line.min.js'; // BUG: output not rendered correctly
import 'prismjs/plugins/line-numbers/prism-line-numbers.min.js';
and prism is rendering it to this:
I have tried disabling all plugins but still not the result I expected.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Plugin error from demux: sample not present ... - QIIME 2 Forum
I have a dataset of 64 samples sequenced and I am trying to run qiime demux filter-samples, after having imported my fastq and...
Read more >Running SpotBugs — spotbugs 4.7.3 documentation
Restrict analysis to find bugs to given comma-separated list of classes and packages. Unlike filtering, this option avoids running analysis on classes and ......
Read more >When filtering, how can I use default filter file when specified ...
For this problem I suggest to have all the default data in base properties if possible. Share. Share a link to this answer....
Read more >Logcat command-line tool - Android Developers
adb logcat supports additional filters that can reduce the amount of logs shown from logd . See the section about filtering log output...
Read more >Nessuscli (Nessus) - Docs Tenable
You can administer some Nessus functions through a command-line interface ... if you are running nessusd on a gateway and if you do...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It should work even without the grammar being imported, so I still think that this needs fixing.
The first version of my fix can be found here. I will make a PR for this.
I have found the issue, I had not imported the required languages… 😆 sorry, so obvious