@stacksjs/stx 0.1.15 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { StxOptions } from './types';
1
+ import type { StxConfig, StxOptions } from './types';
2
2
  /**
3
3
  * Helper function to define stx configuration
4
4
  */
@@ -7,6 +7,7 @@ export declare function serveMultipleStxFiles(filePaths: string[], options?: Dev
7
7
  export declare interface DevServerOptions {
8
8
  port?: number
9
9
  watch?: boolean
10
+ native?: boolean
10
11
  stxOptions?: any
11
12
  markdown?: {
12
13
  syntaxHighlighting?: {
@@ -2,10 +2,13 @@
2
2
  * Format stx file content
3
3
  */
4
4
  export declare function formatStxContent(content: string, options?: FormatterOptions): string;
5
+ /**
6
+ * Format markdown file content, processing stx code blocks
7
+ */
8
+ export declare function formatMarkdownContent(content: string, options?: FormatterOptions): string;
5
9
  /**
6
10
  * stx file formatter for automatically formatting .stx files
7
11
  */
8
- /* eslint-disable regexp/no-super-linear-backtracking */
9
12
  export declare interface FormatterOptions {
10
13
  indentSize?: number
11
14
  useTabs?: boolean
package/dist/i18n.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { StxOptions } from './types';
1
+ import type { I18nConfig, StxOptions } from './types';
2
2
  /**
3
3
  * Load a translation file
4
4
  */