mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-07-11 19:45:20 +02:00
22 lines
365 B
JavaScript
22 lines
365 B
JavaScript
import { Enum } from 'enumify';
|
|
|
|
// The format of a word element
|
|
export default class WordFormat extends Enum {
|
|
|
|
}
|
|
|
|
WordFormat.initEnum({
|
|
BOLD: {
|
|
startSymbol: '**',
|
|
endSymbol: '**',
|
|
},
|
|
OBLIQUE: {
|
|
startSymbol: '_',
|
|
endSymbol: '_',
|
|
},
|
|
BOLD_OBLIQUE: {
|
|
startSymbol: '**_',
|
|
endSymbol: '_**',
|
|
}
|
|
});
|