Kategorie:Mediawiker: Porovnání verzí

Z Dokumentace Disoft
Přejít na: navigace, hledání
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Řádek 19: Řádek 19:
 
#* Check [https://github.com/tosher/Mediawiker/wiki plugin wiki] for setup instructions
 
#* Check [https://github.com/tosher/Mediawiker/wiki plugin wiki] for setup instructions
 
#* Use Preferences / Package settings / Mediawiker / Settings for setup wiki connection and plugin options
 
#* Use Preferences / Package settings / Mediawiker / Settings for setup wiki connection and plugin options
 
+
#* <source lang="json">"Dokumentace disoft":{
 
+
            "authorization_type": "login",  // Authorization type: "login" / "oauth" / "cookies"
 +
            "host": "dokumentace.disoft.cz",  // Site url
 +
            "path": "",  // API path (https://en.wikipedia.org/wiki/Special:Version)
 +
            "pagepath": "/",  // Pages path (https://en.wikipedia.org/wiki/Special:Version)
 +
            "username": "fiala",  // Login authorization type
 +
            "password": "Zbynek123", // Login authorization type
 +
            "domain": "",  // Domain for corp. wikies with LDAP authorization
 +
            "https": false,  // Using HTTPS protocol instead of HTTP
 +
            "is_ssl_cert_verify": false,  // Verify server SSL certificates on connection
 +
            "proxy_host": "",  // Connection through proxy server: like http[s]://[login:password@]domain.com[:3128]
 +
            "use_http_auth": true,  // Additional HTTP authorization: Basic or Digest
 +
            "http_auth_login": "fiala",  // Additional HTTP authorization: Basic or Digest
 +
            "http_auth_password": "Zbynek123",  // Additional HTTP authorization: Basic or Digest
 +
            "oauth_access_secret": "",  // OAuth authorization type
 +
            "oauth_access_token": "",  // OAuth authorization type
 +
            "oauth_consumer_secret": "",  // OAuth authorization type
 +
            "oauth_consumer_token": "",  // OAuth authorization type
 +
            "cookies_browser": "chrome",  // Cookies authorization type: "chrome" or "firefox"
 +
            "preview_custom_head": [],  // List of custom html head tags for preview generation
 +
            "retry_timeout": 30, // Timeout in seconds for http requests
 +
            "is_wikia": false,  // is wikia site
 +
            "show_red_links": false,  // validate red links on open/post page (not recommended, use command instead)
 +
            "preview_sandbox": "" // sandbox page for preview
 +
        }</source>
 +
#holla
 
přehled - https://packagecontrol.io/packages/Mediawiker
 
přehled - https://packagecontrol.io/packages/Mediawiker
  

Verze z 30. 10. 2019, 16:01


Pro správnou funkci je potřeba:

  1. nainstalovat Sublime Text 3
  2. nainstalovat Package control - sublime text package manager
  3. nainstalovat doplněk Mediawiker
    • Installation
      The easiest way to install this is with Package Control.
      • If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
      • Bring up the Command Palette (Command+Shift+p on OS X, Ctrl+Shift+p on Linux/Windows).
      • Select Package Control: Install Package (it'll take a few seconds)
      • Select Mediawiker when the list appears.
      Package Control will automatically keep Mediawiker up to date with the latest version.
    • Documentation
      • Note: Not all color schemes fully supports syntax highlighting scopes required by markup languages like Mediawiki or Markdown. On this moment, color schemes with better support are: Twilight, Sunburst, Eiffel. Also, Mediawiker package includes Twilight (Mediawiki), Eiffel (Mediawiki) and Mediawiker_Dark/Mediawiker_Light schemes with improved highlighting for mediawiki syntax
  4. nastavit možnosti dolňku Mediawiker
    • Check plugin wiki for setup instructions
    • Use Preferences / Package settings / Mediawiker / Settings for setup wiki connection and plugin options
    • <source lang="json">"Dokumentace disoft":{
           "authorization_type": "login",  // Authorization type: "login" / "oauth" / "cookies"
           "host": "dokumentace.disoft.cz",  // Site url
           "path": "",  // API path (https://en.wikipedia.org/wiki/Special:Version)
           "pagepath": "/",  // Pages path (https://en.wikipedia.org/wiki/Special:Version)
           "username": "fiala",  // Login authorization type
           "password": "Zbynek123", // Login authorization type
           "domain": "",  // Domain for corp. wikies with LDAP authorization
           "https": false,  // Using HTTPS protocol instead of HTTP
           "is_ssl_cert_verify": false,  // Verify server SSL certificates on connection
           "proxy_host": "",  // Connection through proxy server: like http[s]://[login:password@]domain.com[:3128]
           "use_http_auth": true,  // Additional HTTP authorization: Basic or Digest
           "http_auth_login": "fiala",  // Additional HTTP authorization: Basic or Digest
           "http_auth_password": "Zbynek123",  // Additional HTTP authorization: Basic or Digest
           "oauth_access_secret": "",  // OAuth authorization type
           "oauth_access_token": "",  // OAuth authorization type
           "oauth_consumer_secret": "",  // OAuth authorization type
           "oauth_consumer_token": "",  // OAuth authorization type
           "cookies_browser": "chrome",  // Cookies authorization type: "chrome" or "firefox"
           "preview_custom_head": [],  // List of custom html head tags for preview generation
           "retry_timeout": 30, // Timeout in seconds for http requests
           "is_wikia": false,  // is wikia site
           "show_red_links": false,  // validate red links on open/post page (not recommended, use command instead)
           "preview_sandbox": "" // sandbox page for preview
       }</source>
  1. holla

přehled - https://packagecontrol.io/packages/Mediawiker

Stránky v kategorii „Mediawiker“

Zobrazují se 2 stránky z celkového počtu 2 stránek v této kategorii.