diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
index b758cea301..7f83f22005 100644
--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
@@ -75,7 +75,7 @@ function useItems(rightPaneVisible: boolean, widgetsByParent: WidgetsByParent) {
const definitions: RightPanelWidgetDefinition[] = [
{
el: ,
- enabled: (noteType === "text" || noteType === "doc" || isPdf),
+ enabled: (noteType === "text" || noteType === "doc" || isPdf || !!note?.isMarkdown()),
},
{
el: ,
diff --git a/apps/client/src/widgets/sidebar/TableOfContents.tsx b/apps/client/src/widgets/sidebar/TableOfContents.tsx
index d84670128d..10fd150689 100644
--- a/apps/client/src/widgets/sidebar/TableOfContents.tsx
+++ b/apps/client/src/widgets/sidebar/TableOfContents.tsx
@@ -39,6 +39,7 @@ export default function TableOfContents() {
{((noteType === "text" && isReadOnly) || (noteType === "doc")) && }
{noteType === "text" && !isReadOnly && }
{noteType === "file" && noteMime === "application/pdf" && }
+ {note?.isMarkdown() && }
);
}