Skip to content

Commit

Permalink
feat: Adding markdown support #182 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple authored Sep 18, 2018
1 parent 5b07b6a commit 2113e8e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/services/Markdown.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { BaseService, RequestHelper } from '../infrastructure';

class Markdown extends BaseService {
render(text, options) {
return RequestHelper.post(this, 'markdown', { text, ...options });
}
}

export default Markdown;
1 change: 1 addition & 0 deletions src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export { default as LicenceTemplates } from './LicenceTemplates';
export { default as Lint } from './Lint';
export { default as Namespaces } from './Namespaces';
export { default as NotificationSettings } from './NotificationSettings';
export { default as Markdown } from './Markdown';
export { default as PagesDomains } from './PagesDomains';
export { default as Search } from './Search';
export { default as SidekiqMetrics } from './SidekiqMetrics';
Expand Down

0 comments on commit 2113e8e

Please sign in to comment.