Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101533322
parseExample.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 11, 08:25
Size
437 B
Mime Type
text/x-java
Expires
Thu, Feb 13, 08:25 (2 d)
Engine
blob
Format
Raw Data
Handle
24163100
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
parseExample.d.ts
View Options
import * as Rsg from '../../typings';
export interface ExampleError {
error: string;
}
/**
* Split fenced code block header to lang and modifiers, parse modifiers, lowercase modifier keys, etc.
*/
export default function parseExample(content: string, lang?: string | null, modifiers?: string, updateExample?: (example: Omit<Rsg.CodeExample, 'type'>) => Omit<Rsg.CodeExample, 'type'>): Omit<Rsg.CodeExample, 'type'> | ExampleError;
Event Timeline
Log In to Comment