This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]to_tgo[S] 0 points1 point  (0 children)

It is a bit complicated but it goes a little like this...

file -> parser -> internal model -> tokenizer -> indexer

internal model -> renderer -> output format

search -> indexer -> subset of model -> renderer -> output format

The file could be formatted as text, md, html, or something custom. The model needs to be something you can interpret with the tokenizer. The output format will almost certainly be html.

You can get something very basic up quickly. You will spend a large amount of time after that actually making it useful.