Create pipeline/filter converting ADF to markdown
using kramdown - Initial attmpt at using kramdown for ADF to kramdown conversion - Additional specs for marks code and link - Add support for strikethrough, superscipt and subscript - Add underline and textColor - Added blockquote, bull_list, heading, and rule - Add inlineCard and orderedList support - Added support for panel - Add codeBlock support - Added hardBreak and initial table support - Add emoji support - Add icons to panels - Add support for mediaSingle and mediaGroup - Add support for mentions - Fix mention and complex document md - Add handling of tables - Remove unnecessary guard - Added specs for invalid situations Add link to CommonMark spec for clarification and other minor changes Use `add_text` method and other minor changes Use a blockquote for panels instead of <hr> separation Correctly set the raw test for headings Adjust how mentions are generated and changes for other review comments Return original source for invalid documents
显示
- Gemfile 1 个添加, 0 个删除Gemfile
- Gemfile.lock 3 个添加, 1 个删除Gemfile.lock
- lib/banzai/filter/jira_import/adf_to_commonmark_filter.rb 24 个添加, 0 个删除lib/banzai/filter/jira_import/adf_to_commonmark_filter.rb
- lib/banzai/pipeline/jira_import/adf_commonmark_pipeline.rb 15 个添加, 0 个删除lib/banzai/pipeline/jira_import/adf_commonmark_pipeline.rb
- lib/kramdown/converter/commonmark.rb 69 个添加, 0 个删除lib/kramdown/converter/commonmark.rb
- lib/kramdown/parser/atlassian_document_format.rb 381 个添加, 0 个删除lib/kramdown/parser/atlassian_document_format.rb
- spec/fixtures/lib/kramdown/atlassian_document_format/blockquote.json 24 个添加, 0 个删除...es/lib/kramdown/atlassian_document_format/blockquote.json
- spec/fixtures/lib/kramdown/atlassian_document_format/blockquote.md 2 个添加, 0 个删除...ures/lib/kramdown/atlassian_document_format/blockquote.md
- spec/fixtures/lib/kramdown/atlassian_document_format/bullet_list.json 72 个添加, 0 个删除...s/lib/kramdown/atlassian_document_format/bullet_list.json
- spec/fixtures/lib/kramdown/atlassian_document_format/bullet_list.md 8 个添加, 0 个删除...res/lib/kramdown/atlassian_document_format/bullet_list.md
- spec/fixtures/lib/kramdown/atlassian_document_format/code_block.json 46 个添加, 0 个删除...es/lib/kramdown/atlassian_document_format/code_block.json
- spec/fixtures/lib/kramdown/atlassian_document_format/code_block.md 17 个添加, 0 个删除...ures/lib/kramdown/atlassian_document_format/code_block.md
- spec/fixtures/lib/kramdown/atlassian_document_format/code_mark.json 24 个添加, 0 个删除...res/lib/kramdown/atlassian_document_format/code_mark.json
- spec/fixtures/lib/kramdown/atlassian_document_format/code_mark.md 2 个添加, 0 个删除...tures/lib/kramdown/atlassian_document_format/code_mark.md
- spec/fixtures/lib/kramdown/atlassian_document_format/complex_document.json 964 个添加, 0 个删除.../kramdown/atlassian_document_format/complex_document.json
- spec/fixtures/lib/kramdown/atlassian_document_format/complex_document.md 220 个添加, 0 个删除...ib/kramdown/atlassian_document_format/complex_document.md
- spec/fixtures/lib/kramdown/atlassian_document_format/emoji.json 66 个添加, 0 个删除...ixtures/lib/kramdown/atlassian_document_format/emoji.json
- spec/fixtures/lib/kramdown/atlassian_document_format/emoji.md 4 个添加, 0 个删除.../fixtures/lib/kramdown/atlassian_document_format/emoji.md
- spec/fixtures/lib/kramdown/atlassian_document_format/hard_break.json 22 个添加, 0 个删除...es/lib/kramdown/atlassian_document_format/hard_break.json
- spec/fixtures/lib/kramdown/atlassian_document_format/hard_break.md 3 个添加, 0 个删除...ures/lib/kramdown/atlassian_document_format/hard_break.md
加载中
想要评论请 注册 或 登录