backstage / backstage/community-plugins
🚀 techdocs-backend-module-confluence: Add option to enable import of embedded images
- Dominant language
- TypeScript
- Stars
- 422
- Forks
- 697
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 286
Description
### Workspace
confluence
### 🔖 Feature description
Th techdocs generated from Confluence doesn't include images from Confluence macros such as PlantUML or Gliffy. In the rendered Confluence page those images are encoded as SVG with base64 payload I suspect the reason why are ignored in techdocs is that `NodeHtmlMarkdown` is configured with `keepDataImages: false`:
https://github.com/backstage/community-plugins/blob/confluence/v1.53.0/workspaces/confluence/plugins/techdocs-backend-module-confluence/src/ConfluencePreparer.ts#L704
Would it be possible to externalize this configuration to `app-config.yaml` ?
### 🎤 Context
Confluence macros are often used, and should be exported into techdocs.
### ✌️ Possible Implementation
_No response_
### 👀 Have you spent some time to check if this feature request has been raised before?
- [x] I checked and didn't find similar issue
### 🏢 Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/backstage/community-plugins/blob/main/CODE_OF_CONDUCT.md)
### Are you willing to submit PR?
No, I don't have time to work on this right now
Contributor guide
Assessment
This issue has not been assessed yet.