diff --git a/content/docs/building-with-settlemint/evm-chains-guide/setup-code-studio.mdx b/content/docs/building-with-settlemint/evm-chains-guide/setup-code-studio.mdx index 42237513..fadacb02 100644 --- a/content/docs/building-with-settlemint/evm-chains-guide/setup-code-studio.mdx +++ b/content/docs/building-with-settlemint/evm-chains-guide/setup-code-studio.mdx @@ -83,7 +83,9 @@ Smart contract sets allow you to incorporate **business logic** into your application by deploying smart contracts that run on the blockchain. You can add a smart contract set via different methods as part of your development workflow. -## IDE project structure** + +## IDE project structure + The EVM IDE project structure in code studio is thoughtfully organized to support efficient smart contract development, testing, and deployment. Each diff --git a/content/docs/building-with-settlemint/hedera-hashgraph-guide/setup-code-studio.mdx b/content/docs/building-with-settlemint/hedera-hashgraph-guide/setup-code-studio.mdx index 42237513..fadacb02 100644 --- a/content/docs/building-with-settlemint/hedera-hashgraph-guide/setup-code-studio.mdx +++ b/content/docs/building-with-settlemint/hedera-hashgraph-guide/setup-code-studio.mdx @@ -83,7 +83,9 @@ Smart contract sets allow you to incorporate **business logic** into your application by deploying smart contracts that run on the blockchain. You can add a smart contract set via different methods as part of your development workflow. -## IDE project structure** + +## IDE project structure + The EVM IDE project structure in code studio is thoughtfully organized to support efficient smart contract development, testing, and deployment. Each diff --git a/content/docs/knowledge-bank/keys-and-security.mdx b/content/docs/knowledge-bank/keys-and-security.mdx index e23a35f1..858fcf4e 100644 --- a/content/docs/knowledge-bank/keys-and-security.mdx +++ b/content/docs/knowledge-bank/keys-and-security.mdx @@ -35,7 +35,7 @@ import { Card } from "fumadocs-ui/components/card"; ## Security infrastructure -### 1. Hardware security modules (hsm) +### 1. Hardware security modules (HSM) ```typescript interface HSMConfig { diff --git a/content/docs/platform-components/blockchain-infrastructure/blockchain-nodes.mdx b/content/docs/platform-components/blockchain-infrastructure/blockchain-nodes.mdx index fecced0b..f717f7ba 100644 --- a/content/docs/platform-components/blockchain-infrastructure/blockchain-nodes.mdx +++ b/content/docs/platform-components/blockchain-infrastructure/blockchain-nodes.mdx @@ -403,7 +403,9 @@ Real-time logs provide visibility into **node operations**, including: The **Hyperledger Fabric Node Dashboard** is designed to monitor and manage Fabric nodes, focusing on consensus, network identity, and operational metrics. -### 2.1 details tab + +### 2.1 Details tab + ![Fabric Node Info](../../../img/platfrom-components/fabric-node-info.png) diff --git a/content/docs/platform-components/blockchain-infrastructure/load-balancer.mdx b/content/docs/platform-components/blockchain-infrastructure/load-balancer.mdx index db2838c6..69309b9f 100644 --- a/content/docs/platform-components/blockchain-infrastructure/load-balancer.mdx +++ b/content/docs/platform-components/blockchain-infrastructure/load-balancer.mdx @@ -97,19 +97,19 @@ distribution, and failover mechanisms**. SettleMint allows **flexible deployment** of its blockchain load balancer based on the specific needs of an organization: -### **1. cloud-based load balancer** +### **1. Cloud-based load balancer** - Deployed on cloud infrastructure (AWS, Azure, GCP) with **auto-scaling capabilities**. - Ideal for **enterprise-grade blockchain solutions**. -### **2. on-premises load balancer** +### **2. On-premises load balancer** - Runs within a **private network** for **enhanced security and regulatory compliance**. - Suitable for **financial, government, and enterprise applications**. -### **3. hybrid load balancer** +### **3. Hybrid load balancer** - A combination of **cloud and on-prem** nodes to balance traffic dynamically. - Enables **cost efficiency and scalability** while ensuring **data privacy**. diff --git a/content/docs/platform-components/blockchain-infrastructure/transaction-signer.mdx b/content/docs/platform-components/blockchain-infrastructure/transaction-signer.mdx index dce5f046..eaeddf02 100644 --- a/content/docs/platform-components/blockchain-infrastructure/transaction-signer.mdx +++ b/content/docs/platform-components/blockchain-infrastructure/transaction-signer.mdx @@ -76,14 +76,14 @@ nodes: ![Transaction Signer Keys Mapping](../../../img/platfrom-components/signer-key-mapping.png) -### **2. hardware security module (hsm) or vault integration** +### **2. Hardware security module (HSM) or vault integration** - SettleMint allows integration with **AWS KMS, HashiCorp Vault, and other secure key management services**. - This approach keeps private keys **off-chain and protected from unauthorized access**. -### **3. remote signing via api** +### **3. Remote signing via API** - Instead of storing private keys on nodes, SettleMint supports **external signing services** that handle digital signatures remotely. diff --git a/content/docs/use-case-guides/asset-tokenization.mdx b/content/docs/use-case-guides/asset-tokenization.mdx index c052f9d0..7f0b3d28 100644 --- a/content/docs/use-case-guides/asset-tokenization.mdx +++ b/content/docs/use-case-guides/asset-tokenization.mdx @@ -143,7 +143,6 @@ For more information on how to add a smart contract set, ### 2. Opening the integrated development environment IDE - To add and edit the smart contract code, you will use the IDE. ![Open Fullscreen](../../img/developer-guides/asset-tokenization/open-fullscreen.png) diff --git a/format-headings.ts b/format-headings.ts index 96877002..92cf1804 100644 --- a/format-headings.ts +++ b/format-headings.ts @@ -8,6 +8,12 @@ const ABBREVIATIONS = [ "AI", "MCP", "IDE", + "HSM", + "API", + "SDK", + "URL", + "JSON", + "GraphQL", // Add more abbreviations here in UPPERCASE // Example: @@ -83,24 +89,15 @@ function processLine(line: string): string { return line; } - // Updated regex to handle all numbering patterns, but preserve existing formatting + // Updated regex to handle all cases including spaced asterisks const headingRegex = - /^(#{1,6})\s*(\*\*)?(?:(\d{1,2}\.(?:\d{1,2})?)\.\s*)?([a-zA-Z].*?)(\*\*)?$/; + /^(#{1,6}\s*\*{0,2}\s*(?:\d+(?:\.\d+)?\.?\s*)?)([a-zA-Z])(.*?)$/; const match = line.match(headingRegex); if (match) { - const [_, hashes, startBold, numbers, content, endBold] = match; - - // Capitalize first letter of the content - const processedContent = content.charAt(0).toUpperCase() + content.slice(1); - - // Reconstruct the line maintaining original formatting - if (startBold) { - // Only add ** if they were present in the original - return `${hashes} ${startBold}${numbers ? numbers + ". " : ""}${processedContent}${endBold || "**"}`; - } else { - return `${hashes} ${numbers ? numbers + ". " : ""}${processedContent}`; - } + const [_, prefix, firstLetter, rest] = match; + // Only capitalize the first letter, keep everything else exactly as is + return `${prefix}${firstLetter.toUpperCase()}${rest}`; } return line;