3,961 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
107
views
Incrementing a number inside a shared component
I am working on a project converting academic coursework in Markdown to MDX. This Markdown can feature footnotes.
The MDX-generated component tree contains <sup>n</sup> elements linking ...
0
votes
0
answers
22
views
IBM PAW View not updating dynamically as intended
I'm very novice at programming and databases in general, so I'm mostly using gpt to write my mdx code. However, I run into an issue.
I want to create a view which shows a pareto diagram of different ...
0
votes
1
answer
57
views
MDX expression not working when dimension is not filtered (SSAS cube)
I'm working on a SQL Server Analysis Services (SSAS) Multidimensional cube.
I have a calculated measure [Calculated SKU] defined as:
IIF(
[Customer_Type].[Customer_Type].CurrentMember.Name = "...
1
vote
2
answers
268
views
MDX+Next.js (app router) TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it
I was trying to create a boilerplate for Next.js + MDX (https://mdxjs.com/) using the official guide provided on Next.js website (https://nextjs.org/docs/app/guides/mdx) and I have been facing this ...
0
votes
0
answers
197
views
How can I automatically add numbered headings to heading elements in Docusaurus?
I'm using Docusaurus v3 to build documentation for my QMS, and I want to automatically add hierarchical numbering to headings, like this:
# 1. Introduction
## 1.1 Overview
### 1.1.1 Details
I want to ...
0
votes
0
answers
158
views
KaTeX math expressions wrapped in code blocks on my personal homepage (Next.js / MDX)
I'm building a personal homepage using Next.js and MDX. The code is available on GitHub: https://github.com/daesungk/daesungk.com.
I'm trying to render math using KaTeX (with rehype-katex and remark-...
0
votes
0
answers
26
views
Using Images inside MDX components
I'm trying to create a Gatsby website which will let me create reusable components around blog posts. Until recently I've been doing just fine, until I got stuck on importing images to MDX files in a ...
0
votes
1
answer
96
views
`rehype-external-links` plugin breaks `expressive-code` syntax highlighting in .mdx
In Astro project I get external links opened in new tab, but in process it breaks existing expresive-code syntax highlighting for code blocks.
https://github.com/nemanjam/nemanjam.github.io/blob/...
0
votes
0
answers
74
views
Render specific content from mdx on astro layout
I'm working with Astro and I'm very new to it.
This is my CityPageLayout.astro
---
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
...
0
votes
0
answers
65
views
Retrieve data from olap cube and store it like a table in a dataframe with python
I am trying to retrieve data from an OLAP cube using an MDX query and store the results in a Pandas DataFrame, all with Python.
I am able to connect to the OLAP cube using requests without any issues ...
0
votes
1
answer
102
views
How can I apply Docusaurus theme to HTML tags in custom component
I have created a simple custom component to display an HTML details element with a predefined summary:
export default function Solution({children}) {
return (
<details>
&...
0
votes
0
answers
43
views
getting an ERROR #95313 HTML.COMPILATION when running '''gatsby build'''
I'm working on my first website using Gatsby JS and I'm running into an issue when I run gatsby build. My local is running perfectly, but build is giving me a ERROR #95313 I've tried a number of ...
-1
votes
1
answer
75
views
Size dimension to quantity MDX
How do I make MDX show the quantity of sizes per item?
This query show what kind of sizes per item, but i want that he show me quantity per item.
Maybe need count or filter function, please help.
How ...
2
votes
1
answer
300
views
prettier-ignore inside mdx + storybook + github
I have an .mdx file that includes a section I don't want prettier to modify:
> [!CAUTION]
> A word of caution
(Relevant issue ticket on why I need to do this in the first place)
I can add a ...
0
votes
1
answer
45
views
x_1 is not defined in Docusaurus
In my file KNN example.mdx i have following mdx format text i have not used any react code here.
1. **Distance**:
For the query point \((x, y) = (0, 0)\), calculate the Euclidean distance to 5 ...