Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102457156
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
Thu, Feb 20, 22:42
Size
437 B
Mime Type
text/x-java
Expires
Sat, Feb 22, 22:42 (2 d)
Engine
blob
Format
Raw Data
Handle
24324932
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