-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow markdown in stage descriptions (#8018)
* feat(core/presentation): Expose the <Markdown/> component to AngularJS * feat(core/pipeline): Allow stage descriptions to include markdown Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b89a1a4
commit 1376b7d
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
app/scripts/modules/core/src/presentation/markdown.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
import { Markdown } from './Markdown'; | ||
|
||
export const CORE_PRESENTATION_MARKDOWN = 'core.presentation.markdown'; | ||
module(CORE_PRESENTATION_MARKDOWN, []).component( | ||
'markdown', | ||
react2angular(Markdown, ['message', 'tag', 'trim', 'className', 'options']), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters