Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
docsify-plantuml
Advanced tools
Configure docsify-plantuml (optional):
<script>
window.$docsify = {
plantuml: {
skin: 'default',
},
}
</script>
See Options for more details.
Insert script into docsify document:
<script src="//unpkg.com/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
Write your plantuml code into a code block marked plantuml
:
### Section X
```plantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
```
By default, we set the skin of the plantuml to a cleaner version for you.
However, You can still switch with this option (skin
) if you prefer the classic one.
All available values are:
default
classic
For example:
<script>
window.$docsify = {
plantuml: {
skin: 'classic',
},
}
</script>
By default, the official PlantUML server is used. If you have your own, configure it using the serverPath
option:
<script>
window.$docsify = {
plantuml: {
serverPath: 'https://custom-server.local/plantuml/png/',
},
}
</script>
By default, the svg is renderd inside an <img src=''/>
tag.
If you want interactive svg (like links) configure the renderSvgAsObject
option:
This will render like: <object type='image/svg+xml' data=''/>
<script>
window.$docsify = {
plantuml: {
renderSvgAsObject: true,
},
}
</script>
Please note that relative urls should start with $
```plantuml
@startuml
Alice -> Bob: Authentication Request [[$./other-file docs]]
Bob --> Alice: Authentication Response [[$../other-file docs]]
@enduml
```
MIT © yelo, 2017 - present
FAQs
plantuml plugin of docsify
The npm package docsify-plantuml receives a total of 180 weekly downloads. As such, docsify-plantuml popularity was classified as not popular.
We found that docsify-plantuml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.