Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions confluence-mdx/bin/confluence_xhtml_to_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,14 @@ def get_html_attributes(node):
# class="numberingColumn" might be the cause of broken table rendering.
if attr_name in ['style', 'class']:
continue

# Remove local-id attribute (Confluence-specific, not needed in MDX)
if attr_name == 'local-id':
continue

# Remove all data-* attributes (Confluence-specific metadata, not needed in MDX)
if attr_name.startswith('data-'):
continue

if isinstance(attr_value, list):
# Convert list-type attribute values (e.g., class) to a space-separated string
Expand Down
12 changes: 6 additions & 6 deletions confluence-mdx/tests/testcases/544178405/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GNB 내 관리자 페이지 진입점
Databases, Servers, Kubernetes 등 각 서비스 설정을 진행하기 전에 기본적으로 설정해야하는 항목들이 있습니다.
특히 보안 설정, 사용자 설정, 관리자 역할 할당은 필수적으로 설정하시는 것을 권장해 드립니다.

<table data-table-width="760" data-layout="default" local-id="96d34ea4-8772-49af-9ba2-14ea36b1f3e1">
<table>
<colgroup>
<col/>
<col/>
Expand All @@ -36,10 +36,10 @@ Databases, Servers, Kubernetes 등 각 서비스 설정을 진행하기 전에
<tr>
<th>
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**설정 순서**
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**설정 항목**
</th>
</tr>
Expand Down Expand Up @@ -142,7 +142,7 @@ QueryPie의 세분화된 접근 제어 기능을 통해 강력한 권한 관리
서비스별 설정이 끝난 후에는 관리자/사용자의 접속 및 실행 이력들을 Audit 메뉴에서 자세히 확인하실 수 있습니다.
뿐만 아니라 민감 정보를 식별할 수 있는 Discovery 기능 또한 제공하니 차세대 디스커버리 기능을 경험해 보세요.

<table data-table-width="760" data-layout="default" local-id="1c770267-da7f-48dc-b1e3-817744eeec38">
<table>
<colgroup>
<col/>
<col/>
Expand All @@ -152,10 +152,10 @@ QueryPie의 세분화된 접근 제어 기능을 통해 강력한 권한 관리
<tr>
<th>
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**설정 순서**
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**설정 항목**
</th>
</tr>
Expand Down
18 changes: 9 additions & 9 deletions confluence-mdx/tests/testcases/544211126/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: '사용자 매뉴얼'
아래 순서를 따라 사용해 보세요.
각 항목을 클릭하면 자세한 사용 방법을 확인하실 수 있습니다.

<table data-table-width="760" data-layout="default" local-id="c53b8e8a-3f68-476f-aa0a-03f2f0eb700f">
<table>
<colgroup>
<col/>
<col/>
Expand All @@ -24,18 +24,18 @@ title: '사용자 매뉴얼'
<tr>
<th>
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**사용 순서**
</th>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**기능**
</th>
</tr>
<tr>
<td>
1
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**로그인**
</th>
<td>
Expand All @@ -46,7 +46,7 @@ title: '사용자 매뉴얼'
<td>
2
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**대시보드 둘러보기**
</th>
<td>
Expand All @@ -57,7 +57,7 @@ title: '사용자 매뉴얼'
<td>
3
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**Workflow로 권한 받기**
</th>
<td>
Expand All @@ -77,7 +77,7 @@ title: '사용자 매뉴얼'
<td>
4
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**QueryPie Web에서 접속하기**
</th>
<td>
Expand All @@ -100,7 +100,7 @@ title: '사용자 매뉴얼'
<td>
5
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**QueryPie Agent로 접속하기**
</th>
<td>
Expand All @@ -111,7 +111,7 @@ title: '사용자 매뉴얼'
<td>
6
</td>
<th data-highlight-colour="var(--ds-background-accent-gray-subtlest, #F4F5F7)">
<th>
**개인 설정 둘러보기**
</th>
<td>
Expand Down
16 changes: 8 additions & 8 deletions confluence-mdx/tests/testcases/544375741/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'

# External API 변경사항 (9.9.4 버전 > 9.9.5 버전)

---
______

## API Docs Json File

:paperclip: [994_external.json](994_external.json)
:paperclip: [995_external.json](995_external.json)
---
______

## 1. Access Approval API

Expand All @@ -22,7 +22,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'

##### Response

<table data-table-width="760" data-layout="default" local-id="729f4860-908e-453e-a2ce-586ef92bde21">
<table>
<colgroup>
<col/>
<col/>
Expand All @@ -48,7 +48,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'
</table>

* **id** 가 **추가** 되었습니다.
---
______

## 2. Approval API

Expand All @@ -60,7 +60,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'

##### Response

<table data-table-width="760" data-layout="default" local-id="d1aedf57-9c7c-4ffd-abf3-d1381144dd7d">
<table>
<colgroup>
<col/>
<col/>
Expand All @@ -86,7 +86,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'
</table>

* **id** 가 **추가** 되었습니다.
---
______

## 3. Audit Log API

Expand All @@ -102,7 +102,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'
##### Response

* /api/docs 에 잘못 표기 되어 있던 **nextCursor** 에 대한 내용이 수정되었습니다.
---
______

## 4. Notification Channels API

Expand All @@ -114,7 +114,7 @@ title: 'External API 변경사항 (9.9.4 버전 > 9.9.5 버전)'

* Query Parameter

<table data-table-width="760" data-layout="default" local-id="a8579e9b-bf3a-44ef-8dbe-bef487c68840">
<table>
<colgroup>
<col/>
<col/>
Expand Down
2 changes: 1 addition & 1 deletion confluence-mdx/tests/testcases/544384417/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ QueryPie 보고서는 감사 대응에 필요한 데이터를 보고서 형태

11.2.0 버전 현재 지원하는 보고서 항목 및 필터는 아래의 표를 참고하시기 바랍니다.

<table data-table-width="958" data-layout="center" local-id="cfcbf091-3775-4454-bff4-924bf43e88f4">
<table>
<a id="table-1"></a>
<colgroup>
<col/>
Expand Down
20 changes: 10 additions & 10 deletions confluence-mdx/tests/testcases/793608206/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Alert Type을 New Request로 선택한 경우, Request Type에 따른 템플릿

Request Type을 전체 선택한 경우에도 공통 변수는 사용 가능합니다.

<table data-table-width="811" data-layout="center" local-id="c749b9ca-9033-4c2b-b8fa-3880ad5a8736">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -194,7 +194,7 @@ Urgent

### DB Access Request

<table data-table-width="808" data-layout="center" local-id="ee62ec7d-c9f6-4e28-b56e-747b6443c26d">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -281,7 +281,7 @@ Requested Privilege per Connection

### SQL Request

<table data-table-width="814" data-layout="center" local-id="65178aed-8861-4dee-943a-42d33ce617bf">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -494,7 +494,7 @@ Execution Expiration Date

### SQL Export Request

<table data-table-width="816" data-layout="center" local-id="a7dabd97-8ea6-4502-b876-197d927dd1dc">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -692,7 +692,7 @@ Execution Expiration Date

### Unmasking Request

<table data-table-width="816" data-layout="center" local-id="212dceed-34bd-42c0-9cab-7b11a24950af">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -835,7 +835,7 @@ Approval Expiration Date

### Restricted Data Access Request

<table data-table-width="816" data-layout="center" local-id="8d66df32-3ad9-473e-9876-a4c7fe8775e1">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -978,7 +978,7 @@ Approval Expiration Date

### DB Policy Exception Request

<table data-table-width="816" data-layout="center" local-id="8fdf1d5c-786c-4147-8e56-bfd6d8dcdb0f">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -1135,7 +1135,7 @@ Approval Expiration Date

### Server Access Request

<table data-table-width="820" data-layout="center" local-id="a4480e83-0193-4c46-ba7c-53a665a6ad03">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -1281,7 +1281,7 @@ Duration

### Server Privilege Request

<table data-table-width="820" data-layout="center" local-id="1ac8db57-f53b-4306-9a63-eabe504365d4">
<table>
<colgroup>
<col/>
<col/>
Expand Down Expand Up @@ -1427,7 +1427,7 @@ Duration

### Access Role Request

<table data-table-width="816" data-layout="center" local-id="e44f2beb-29c0-417c-b961-8a1b7946b510">
<table>
<colgroup>
<col/>
<col/>
Expand Down
12 changes: 6 additions & 6 deletions confluence-mdx/tests/testcases/panels/expected.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ import { Callout } from 'nextra/components'
<Callout type="info">
This is an info panel.
</Callout>
---
______

<Callout type="important">
This is a note panel.
</Callout>
---
______

<Callout type="error">
This is an error panel.
</Callout>
---
______

<Callout type="default">
This is a success panel.
</Callout>
---
______

<Callout type="important">
This is a warning panel.
</Callout>
---
______

<Callout type="info" emoji="🌈">
This is a custom panel.
</Callout>
---
______

Done.

Expand Down
Loading