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.
@covalent/flavored-markdown
Advanced tools
<td-flavored-markdown>
is component that parses Markdown and renders markdown with Material/Covalent components for a more appealing look.
This component uses <td-markdown>
to render the markdown. See <td-markdown>
's documentation for more details on the markdown rendering and various inputs.
For reference:
interface ICopyCodeTooltips {
copy?: string;
copied?: string;
}
This component can be installed as npm package.
npm i -save @angular/cdk
npm i -save @angular/material
npm i -save @covalent/core
npm i -save @covalent/markdown
npm i -save @covalent/highlight
npm i -save @covalent/flavored-markdown
Then, import the CovalentFlavoredMarkdownModule in your NgModule:
import { CovalentFlavoredMarkdownModule } from '@covalent/flavored-markdown';
@NgModule({
imports: [
CovalentFlavoredMarkdownModule,
...
],
...
})
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. It also depends on all the covalent themes since the components being rendered by this module are from other packages.
@use '@angular/material' as mat;
@use '@covalent/core/theming/all-theme' as cov;
@use '@covalent/markdown/markdown-theme' as markdown;
@use '@covalent/highlight/highlight-theme' as highlight;
@use '@covalent/flavored-markdown/flavored-markdown-theme' as markdown-flavored;
@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 mat.all-component-themes($theme);
@include cov.covalent-theme($theme);
@include markdown.covalent-markdown-theme($theme);
@include highlight.covalent-highlight-theme();
@include markdown-flavored.covalent-flavored-markdown-theme($theme);
<td-flavored-markdown> - [x] checked action - [ ] unchecked action + list item + list item </td-flavored-markdown>
A component that fetches markdown from a GitHub url and renders it using <td-flavored-markdown>
.
url: string
httpOptions?: object
anchor?: string
contentReady: void
loadFailed: Error
<td-flavored-markdown-loader [url]="'https://github.com/Teradata/covalent/blob/main/README.md'"> </td-flavored-markdown-loader>
FAQs
Teradata UI Platform Flavored Markdown Module
We found that @covalent/flavored-markdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’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.