# Spring學(xué)習(xí)計(jì)劃
Thank you for choosing **Typora**. This document will help you to start Typora. Please note that Typora for Windows is still in beta phase, so this document may be updated in future version-ups.
[TOC]
## 一、registerWithEureka和register-with-eureka的區(qū)別
```yaml
eureka:
? instance:
? ? hostname: localhost
? client:
? ? registerWithEureka: false # 由于自己就是服務(wù)器,不需要注冊(cè)到自己
? ? fetchRegistry: false # 由于自己就是服務(wù)器,不需要從服務(wù)器獲取注冊(cè)信息
? ? serviceUrl:
? ? ? defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ #服務(wù)地址
```
```yaml
eureka:
? instance:
? ? hostname: localhost
? client:
? ? register-with-eureka: false
```
registerWithEureka和register-with-eureka的區(qū)別?
## 二伏伐、eureka-client的啟動(dòng)類不加@EnableEurekaClient運(yùn)行?
```java
@SpringBootApplication
// 注釋掉之后仍然可以注冊(cè)到服務(wù)中心
// @EnableEurekaClient
@RestController
public class EurekaClientApplication {
? ? @RequestMapping("/")
? ? public String home() {
? ? ? ? return "Hello world";
? ? }
? ? public static void main(String[] args) {
? ? ? ? SpringApplication.run(EurekaClientApplication.class, args);
? ? }
}
```
## 三、Spring Cloud Eureka配置文件例子與較為詳細(xì)說明
https://www.cnblogs.com/ouyida3/p/9747423.html
## Copy
We create typora and want to make it your default markdown editor, thus copy and paste means copy from another app or paste to another app, instead of *copy/paste from/to another markdown editor*. Therefore, by default, `Copy` means `Copy As HTML` ( and `Paste` means `Paste from HTML`).
However, after click "**Copy Markdown source by default**", typora will copy selected text in HTML/markdown format (When pasting, rich editors will accept the HTML format, while plain text / code editor will accept the markdown source code format).
To **copy Markdown source code** explicitly, please use shortcut key `shift+cmd+c` or `Copy as Markdown` from menu. To **Copy as HTML Code**, please select `Copy as HTML Code` from menu.
## Smart Paste
**Typora** is able to analyze styles of the text content in your clipboard when pasting. For example, after pasting a `<h1>HEADING</h1>` from some website, typora will keep the 'first level heading’ format instead of paste ‘heading’ as plain text.
To **paste as markdown source** or plain text, you should use `paste as plain text` or press the shortcut key: `shift+cmd+v`.
## Themes
Please refer to `Help` → `Custom Themes` from menu bar.
## Publish
Currently Typora only support to export as **PDF** or **HTML**. More data format support as import/export will be integrated in future.
## Auto Save and File Recovery
Typora support? auto save feature, user could enable it from preference panel.
Typora does not provide professional version control and file backup feature, but typora would backup the last file content from time to time automatically, so even when typora crashes or users forget to save the file before close, it is possible to recovery most of the work by clicking `Recovery Unsaved Drafts` from preference folder, and copy out backed-up files. The File name in this folder is consists of last saved date, originally file name and last saved timestamp.
## More Useful Tips & Documents
<http://support.typora.io/>
## And More ?
For more questions or feedbacks, please contact us by:
- Home Page: http://typora.io
- Email: <hi@typora.io>
- Twitter [@typora](https://twitter.com/typora)
We opened a Github issue page in case you want to start a discussion or as an alternative way to report bugs/suggestions: https://github.com/typora/typora-issues/issues