Skip to content

anatoly314/dsl2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DSL to HTML parser


Description

I wrote this small library to export/get DSL articles as *.html content. To read more about DSL format use the following resources:

How to use:

  • Example how to save translation result as *.html files:
import entrypoints.Dsl2Html;
public class main {

    public static void main(String[] args){
        
        String dictPathsArray[] = { ... };                                      //paths to DSL dictionaries
        String[] wordsToTranslate = {"angel","peace","world","brother"};        //list of words to translate
        String outputDirectoryPath = "test-output";                             //output folder path
        Dsl2Html.saveTranslationsToFiles(dictPathsArray, wordsToTranslate, outputDirectoryPath);
    }
}

TODO!!!

  • Not all DSL specification implemented yet. It supports right now only subset of DSL tags. Meanwhile it's enough to get to work with it.

Used resources

  1. Font Awesome customized by: https://icomoon.io
  2. woff to base64 by: https://www.browserling.com/tools/file-to-base64
  3. Expiration how to cause Font Awesome works in base64 mode taken from here: https://gitlab.com/tecnos/font-awesome-base64#README

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published