
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@covalent/markdown
Advanced tools
<td-markdown>
is a component that parses and renders Github flavored markdown. It is based on the showdown library.
Note: This module uses the DomSanitizer service to sanitize the parsed html from the showdown lib to avoid XSS issues.
By default, --dev
build will log the following message in the console to let you know:
WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).
content?: string
README.md
content.simpleLineBreaks?: string
hostedUrl?: string
anchor?: string
fileLinkExtensions?: string[]
contentReady: undefined
fileLinkClicked: URL
This component can be installed as an npm package.
npm i -save @covalent/markdown
Then, import the CovalentMarkdownModule in your NgModule:
import { CovalentMarkdownModule } from '@covalent/markdown';
@NgModule({
imports: [
CovalentMarkdownModule,
...
],
...
})
export class MyModule {}
This module comes with its own Covalent theme which uses the material theme which is used by importing our theme scss file.
@use '@angular/material/theming' as mat;
@use '@covalent/markdown/markdown-theme' as markdown;
@include mat.core();
$primary: mat.define-palette($mat-orange, 800);
$accent: mat.define-palette($mat-light-blue, 600, A100, A400);
$warn: mat.define-palette($mat-red, 600);
$theme: mat.define-light-theme($primary, $accent, $warn);
@include markdown.covalent-markdown-theme($theme);
Html:
<td-markdown> # Heading ## Sub Heading (H2) ### Steps (H2) </td-markdown>
Output:
FAQs
Teradata UI Platform Markdown Module
The npm package @covalent/markdown receives a total of 827 weekly downloads. As such, @covalent/markdown popularity was classified as not popular.
We found that @covalent/markdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.