Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.